[Tomcat] Solve tomcat8080 port is occupied

When port 8080 is occupied, don’t worry about changing the tomcat port.
Insert picture description here
Press Win+R to run and enter cmd to open the terminal.
Insert picture description here
Enter the command and find the port of 8080.

netstat   -ano|findstr  8080

Insert picture description here
Kill the process on port 8080

taskkill  /pid  17616  /f 

Insert picture description here
There is nothing wrong with starting the service again

Guess you like

Origin blog.csdn.net/WSF34588940/article/details/114169768