tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Oatham <Matthew.Oat...@AssetHouse.com>
Subject Tomcat behind a NAT box
Date Thu, 13 Jun 2002 21:26:58 GMT
I am running Tomcat on a machine with multiple IP addresses, not only that
but the machine is behind a NAT box each internal IP address has a 1:1
mapping with an external address.

When I start tomcat I put the internal IP address I want the server to start
on in server.xml e.g.

    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8080" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"
address="INTERNAL IP ADDRESS"/>

However when I start Tomcat I get the following output in the logs:

2002-06-13 16:55:25 HttpConnector Opening server socket on host IP address
172.16.54.180
2002-06-13 16:55:26 HttpConnector No host IP address matching 172.16.54.180,
opening on all addresses

Has anyone tried this configuration? Does Tomcat do some kind of lookup on
startup? Should I be using the internal or external IP address?

Thanks.

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


Mime
View raw message