Open Tomcat, and prompt that port 8080 is occupied. The solution is as follows:
Enter netstat -ano|findstr "8080" to find the PID of the process occupying the port , this machine is 3864
Enter tasklist|findstr 3864 to get the name of the occupied program, my computer is ApplicationWebServer
Taskkill /f /t /im ApplicationWebServer.exe Another convenient method is: after performing the steps described in 1 above, enter taskkill /F /PID 3864 , so that the problem of port occupied can be solved.