In default Tomcat installation, you will find the following line at the top of Tomcat‘s global server configuration file server.xml :
1 |
<Server port="8005" shutdown="SHUTDOWN"> |
This configuration allows remote shutdown of Tomcat by sending telnet command to port 8005. Something to note: 1. Port 8005 is on TCP protocol. This is important for firewall configuration 2. Port 8005 …