In my webapp how do I get the host and port of the front end server?

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content