tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Server Component....What IP does the shutdown service listen to?
Date Wed, 17 Nov 2004 15:41:10 GMT
To my understanding, you are correct.  It's locked to only listen for a 
shutdown command on the localhost interface 127.0.0.1 for security reasons.

--David

Troy Simpson wrote:

> OS: Sun Solaris 8
> Tomcat: 5.5.4
> Documentation: 
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/server.html
>
> According to the documentation, the server component has attributes 
> for className, port, and shutdown, but not bindIPAddress.  What IP 
> address is the server listening to for the shutdown command?
>
> If my server.xml file contains this:
>
> <Server port="8005" shutdown="SHUTDOWN" debug="0">...</Server>
>
> ...is the server waiting for the shutdown command, SHUTDOWN, on 
> 127.0.0.1:8005?
> or
> ...is the server waiting for the shutdown command, SHUTDOWN, on *:8005 
> (All IP addresses assigned to the server)?
>
> I run netstat -a and I get the following for port 8005:
>   Local Address         Remote Address     State
> -------------------- -------------------- -------
> localhost.8005             *.*                0      0 24576      0 
> LISTEN
>
> I'm not much of a sysadmin, but this suggest that something (tomcat) 
> is listening for the shutdown command on 127.0.0.1:8005.
> Am I correct?
>
> Thanks,
> Troy
>

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


Mime
View raw message