tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sandiford" <Martin.Sandif...@aus.viptone.com>
Subject RE: Listening Porblem?
Date Wed, 20 Feb 2002 06:35:28 GMT
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message