Re: request.getServerPort() returns wrong port when using tcpmon

2007-02-01 Thread Alessandro Vernet
Alessandro Vernet wrote: > > 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 f

request.getServerPort() returns wrong port when using tcpmon

2007-01-31 Thread Alessandro Vernet
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,