Re: How to change the IP address
NT and 2000 are ipconfig, do a ipconfig /all if you to know all the stuff. --mikej -=- mike jackson [EMAIL PROTECTED] - Original Message - From: Dmitri Colebatch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 4:57 PM Subject: Re: How to change the IP address What do you m ean by change the IP address. Does the machine have multiple IP addresses? You should be able to determine IP info on a windows box using winipcfg - I think that's right for NT, can never remember. Whatever IP address the box listens on tomcat will respond to. Is this what you want? cheers dim On Mon, 16 Jul 2001, Neelu Shah wrote: 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
Re: How to change the IP address
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 value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=inet value=127.0.0.1 Parameter name=port value=8080/ /Connector --- Just replace 127.0.0.1 with the IPAddress you want to use. Thanks, --jeff - Original Message - From: Neelu Shah [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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
Re: How to change the IP address
Whoops, forgot the closing / for the inet param. Should be: Parameter name=inet value=127.0.0.1/ Thanks, --jeff - Original Message - From: Jeff Kilbride [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 17, 2001 11:33 PM Subject: Re: How to change the IP address 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 value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=inet value=127.0.0.1 Parameter name=port value=8080/ /Connector --- Just replace 127.0.0.1 with the IPAddress you want to use. Thanks, --jeff - Original Message - From: Neelu Shah [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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
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
Re: How to change the IP address
What do you m ean by change the IP address. Does the machine have multiple IP addresses? You should be able to determine IP info on a windows box using winipcfg - I think that's right for NT, can never remember. Whatever IP address the box listens on tomcat will respond to. Is this what you want? cheers dim On Mon, 16 Jul 2001, Neelu Shah wrote: 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
RE: How to change the IP address
I think he means how you set the IP address the server should listen to on a multi-homed host. if this is the case I'm not sure you can do it in Tomcat 3.2.1 if it is possible it would look something like this Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port value=8080/ Parameter name=address value=209.233.3.2/ /Connector Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 4:57 PM To: [EMAIL PROTECTED] Subject: Re: How to change the IP address What do you m ean by change the IP address. Does the machine have multiple IP addresses? You should be able to determine IP info on a windows box using winipcfg - I think that's right for NT, can never remember. Whatever IP address the box listens on tomcat will respond to. Is this what you want? cheers dim On Mon, 16 Jul 2001, Neelu Shah wrote: 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
Re: How to change the IP address
At 04:57 PM 7/16/2001, you wrote: What do you m ean by change the IP address. Does the machine have multiple IP addresses? You should be able to determine IP info on a windows box using winipcfg - I think that's right for NT, can never remember. Whatever IP address the box listens on tomcat will respond to. Is this what you want? You determine the ip on any Win95 and later machine w/ipconfig; no params.