I am not an expert in tomcat configuration by any means,
so your mileage may vary considerably...

In conf/server.xml included with tomcat distribution
there is a section like this:

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


You may need to add an "address" and maybe change the "port"
attribute to get the server to bind to a specific IP address.
For example:

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


Hope this helps.

In a related meta-question is there a DTD or other documentation
for server.xml?

Martin

>Is there way to set up Tomcat to listen only given IP with port 80?
>For example : My we server has several IDs and I'd like to configure
>Tomcat4 listen only one IP with port 80 and other IPs will serve APACHE.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to