vaninf Posted June 11, 2017 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?
Luigi123 Posted June 11, 2017 Posted June 11, 2017 This support request is being escalated to our root admin.
Krydos Posted June 11, 2017 Posted June 11, 2017 Those values are because Tomcat is proxied through Apache.
Recommended Posts