You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steve Allan <s_...@yahoo.com> on 2011/07/27 02:01:18 UTC

Fw: Issue with accepting IP address connections

 Hello,
I have set up Tomcat 6.0 on a Windows 2007 server. IIS was
(and still is) installed. I have changed the port to 8081
for testing and can see the Tomcat start page at
localhost:8081.
However, I now need to set up the IP address for the server
which I thought was done through the Connector element is
the server.xml file but trying the IP address after setting
it up and restarting Tomcat gets a 'page can not be
displayed' error.

The Connector element is:
<Connector port="8081" protocol="HTTP/1.1"   
connectionTimeout="20000"          
addres="192.xxx.xx.x"             
redirectPort="8443" />
 
What do I need to do to get Tomcat monitor a certain IP
address?
 
Thanks in advance,
Steve 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Issue with accepting IP address connections

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Steve Allan [mailto:s_allannz@yahoo.com] 
> Subject: Fw: Issue with accepting IP address connections

> However, I now need to set up the IP address for the server

Why do you think you need to do that?  By default, Tomcat will listen on all IP addresses configured for the OS, so all you will be doing is limiting which IP addresses can be used to access Tomcat.  In particular, 127.0.0.1 won't be available...

> The Connector element is:
> <Connector port="8081" protocol="HTTP/1.1"   
> connectionTimeout="20000"          
> addres="192.xxx.xx.x"             
> redirectPort="8443" />
 
> What do I need to do to get Tomcat monitor a certain IP
> address?

Perhaps spell "address" correctly in the <Connector> element?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org