tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Kilbride" <>
Subject Re: How to change the IP address
Date Wed, 18 Jul 2001 06:33:40 GMT
The PoolTCPConnector class has a parameter called "inet" that's not really
documented. I used this parameter to make my ajp12 and ajp13 connectors
listen only on the localhost interface -- by default, they listen on all
interfaces, even external, which is bad.

I don't know if it will work, but you could try including the "inet" param
in the definition of the Normal HTTP connector inside your server.xml file.
Maybe like this:

<!-- Normal HTTP  -->
<Connector className="org.apache.tomcat.service.PoolTcpConnector">
    <Parameter name="handler"
    <Parameter name="inet"
    <Parameter name="port"

Just replace "" with the IPAddress you want to use.


----- Original Message -----
From: "Neelu Shah" <>
To: <>
Sent: Monday, July 16, 2001 3:51 PM
Subject: How to change the IP address

> Hi All,
> could someone tell me how to change the default IP address for tomcat (no
> apache used)
> from localhost to another IP address.
> im running tomcat on Windows NT.
> thanks
> N

View raw message