Change Tomcat listening interface in Windows

View: New views
4 Messages — Rating Filter:   Alert me  

Change Tomcat listening interface in Windows

by smooochy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I installed Tomcat 6 on Windows XP from the .exe installer, and I need to configure it to only listen on the localhost IP. Is this a change I can make in one of the .xml files?

RE: Change Tomcat listening interface in Windows

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: smooochy [mailto:dps002@...]
> Subject: Change Tomcat listening interface in Windows
>
> Is this a change I can make in one of the .xml files?

Yes.  Did you try reading the doc?
http://tomcat.apache.org/tomcat-6.0-doc/config/index.html

Set the address attribute in whatever <Connector> elements you're using.

 - 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@...
For additional commands, e-mail: users-help@...


Re: Change Tomcat listening interface in Windows

by smooochy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Honestly I have never worked with Apache before, and I was just asked to package it for deploying it across our campus. So I have looked at the documentation, but it's all Greek to me. But I will look into this and figure it out.
Thanks a lot for pointing me in the right direction.

RE: Change Tomcat listening interface in Windows

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: smooochy [mailto:dps002@...]
> Subject: Re: Change Tomcat listening interface in Windows
>
> So I have looked at the documentation, but it's all Greek to me.

There are several books on Tomcat, if you can't follow the docs; O'Reilly may be the least objectionable.  You will likely want to become familiar with the servlet spec as well:
http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index2.html

If you haven't found it yet, conf/server.xml has most of the Tomcat-specific config; conf/web.xml contains the servlet spec-defined config values for all webapps.

 - 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@...
For additional commands, e-mail: users-help@...