RE: Binding to a single IP
yes... -Original Message- From: Bojan Smojver [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 8:04 PM To: Tomcat Dev List 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
Re: Binding to a single IP
I know, I know, RTFCF... Bojan Curtis Dougherty wrote: yes... -Original Message- From: Bojan Smojver [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 8:04 PM To: Tomcat Dev List 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
RE: Binding to a single IP
:) -Original Message- From: Bojan Smojver [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 8:57 AM To: [EMAIL PROTECTED] Subject: Re: Binding to a single IP I know, I know, RTFCF... Bojan Curtis Dougherty wrote: yes... -Original Message- From: Bojan Smojver [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 8:04 PM To: Tomcat Dev List 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
Re: Binding to a single IP
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
Re: Binding to a single IP
Cool. Thanks. Bojan Jeff Kilbride wrote: 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
Re: Binding to a single IP
If I spent more time reading the comments in the server.xml file, I'd know better then ask such a question... Sorry. In TC 3.3 it's called 'address'. Bojan Jeff Kilbride wrote: 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