vaninf Posted June 11, 2017 Share Posted June 11, 2017 My servlet is deployed at http://vaninf.heliohost.org/2/url.jspIt returns 3 wrong parameters: request.getServerName() = 127.0.0.1request.getServerPort() = 8080request.getContextPath() = /vaninf_2 The expected correct data should be: request.getServerName() = vaninf.heliohost.orgrequest.getServerPort() = 80request.getContextPath() = /2 Can you support people tell me why, and how to fix it? Link to comment Share on other sites More sharing options...
Luigi123 Posted June 11, 2017 Share Posted June 11, 2017 This support request is being escalated to our root admin. Link to comment Share on other sites More sharing options...
Krydos Posted June 11, 2017 Share Posted June 11, 2017 Those values are because Tomcat is proxied through Apache. Link to comment Share on other sites More sharing options...
Recommended Posts