This article describes the solution to the problem of 8080 port occupancy after eclipse forced shutdown, with the need for a friend to refer to it. Eclipse occupied the machine's memory is very large, because of some unknown situation eclipse suddenly died, this time had to kill eclipse this process, and then restart. If you do this, you will not start properly when you start the Tomcat server in eclipse again. Cause: Port 8080 is occupied. Workaround: The first method: Restart the machine, which is usually called the fool level operation; The second method: The first step is to look at the PID of the process that occupies the 8080 port. In the cmd window of Windows, type the following command: Netstat-ona > e:\target.txt//output details to file Target.txt The second step is to find the PID value corresponding to the 8080 port in the Target.txt In the third step, enter the following command to kill the process taskkill/f/pid {The PID number of the process corresponding to port 8080} |