tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Vernet <>
Subject request.getServerPort() returns wrong port when using tcpmon
Date Wed, 31 Jan 2007 19:15:22 GMT

When the request I send to Tomcat go through tcpmon, calls to
httpServletRequest.getServerPort() in my code always return 80. This is
incorrect, as Tomcat is listening in fact to port 8080. I don't have this
problem when request don't do through tcpmon.

I am having this issue with Tomcat 5.5.16, and haven't tried yet with other

Any suggestion?

View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message