In my webapp how do I get the host and port of the front end server?
Issue
- Within our application, we are referencing the http header request to retrieve the hostname and port number and we are seeing values that are internal values – not the externally exposed hostname and port number that the end users browser would/should reference.
Environment
- JBoss Enterprise Application Platform (EAP) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.