We would like to identify and display the server and port that a Java application is running on that is behind a proxy web server. This means that getServerName() and getSer
You can use ServletRequest#getLocalXXX() methods for this.
ServletRequest#getLocalXXX()