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" <[EMAIL PROTECTED]>
To: "Tomcat Dev List" <[EMAIL PROTECTED]>
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
>

Reply via email to