Kill the Tomcat process under Windows

In the idea of ​​using Tomcat configuration when the project started, there will always encounter service problems can not be closed properly.

You can use cmd command forcibly shut down Tomcat process. As follows:

1, first find the process ID PID 8080 occupied port is the number 
CMD> netstat -ano | findstr 8080 
this last one command output indicates the occupancy 8080 port number is how much of the process, here is my 7076

 

2, kill off the process 
CMD> taskkill / F / PID 7076

 

So 8080 is released.

Guess you like

Origin www.cnblogs.com/cheyj/p/11146059.html