解决IDEA中:Error running Tomcat8: Address localhost:1099 is already in use

解决IDEA中:Error running Tomcat8: Address localhost:1099 is already in use

When I was running the web project today, it suddenly failed to run, and finally reported Error running Tomcat8: Address localhost:1099 is already in use

As a result, the web project cannot be run. After a look, it turns out that port 1099 is occupied. The solution is as follows:

First enter window+r into cmd and execute the netstat -ano command

to

In this way, the pid that occupies the port number of 1099 is 11036, and then we are executing the tasklist command

to

Furthermore, we can see that the process occupying port 8080 is java.exe, and then we open the task manager to terminate the process java.exe

Then restart Tomcat

Guess you like

Origin blog.csdn.net/qq_37924905/article/details/108622343