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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
