tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Kilbride" <j...@kilbride.com>
Subject Re: Binding to a single IP
Date Sat, 04 Aug 2001 05:00:09 GMT
I'm not sure about 3.3, but 3.2.x has an "inet" parameter for the
PoolTCPConnector class. This is from my server.xml:

----------------------------------
<Connector className="org.apache.tomcat.service.PoolTcpConnector">
    <Parameter name="handler"
        value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
    <Parameter name="inet"
        value="localhost"/>
    <Parameter name="port"
        value="8009"/>
    <Parameter name="max_threads"
        value="50"/>
    <Parameter name="max_spare_threads"
        value="25"/>
    <Parameter name="min_spare_threads"
        value="10"/>
</Connector>
----------------------------------

Obviously, this is for my ajp13 connector, but I believe it would work the
same for the HttpConnectionHandler.

Hope this helps.

--jeff

----- Original Message -----
From: "Bojan Smojver" <bojan@binarix.com>
To: "Tomcat Dev List" <tomcat-dev@jakarta.apache.org>
Sent: Friday, August 03, 2001 6:04 PM
Subject: Binding to a single IP


> I've asked this question over on the Tomcat user list, but nobody
> replied...
>
> Can Tomcat (3.3) be bound to a single IP address (ie. just 127.0.0.1)?
>
> Bojan
>


Mime
View raw message