tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lacey James-CJL023 <James.La...@motorola.com>
Subject getServerPort
Date Thu, 30 Jan 2003 17:34:25 GMT
Hello,

We have set Tomcat 4.x up to run standalone.

We then set up several connectors in the server.xml file that listen on
ports like 4080, 4081, etc.

When a requests comes in on these ports, and is serviced by a servlet, the
HttpServletRequest.getServerPort() method always returns 80 no matter what
port the request actually came in on.

Anyone know why this is, or how to get the
HttpServletRequest.getServerPort() method to return the port that the
connection actually came in on?

Regards,


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message