First kill the process of 8080 in the shell, and then start the debugging of the ide, that is, tomcat occupies the 8080 port. Starting debugging in the editor is equivalent to opening another tomcat process.
The browser8080port can be opened, indicating that the system already has a Tomcat process running. This usually occurs on Tomcat installed using the installation package under Windows. You can refer to the following steps to handle it:
Command line inputservices.msc to start the local service manager
Find the Apache Tomcat service, double-click to change the startup type to 手动 in the pop-up window, and click to stop at the same time
It may be opened multiple times, so this process already exists. You can enter netstat -ano in cmd to find the process occupying the port, then write down the process number, and then taskkill
First kill the process of 8080 in the shell, and then start the debugging of the ide, that is, tomcat occupies the 8080 port.
Starting debugging in the editor is equivalent to opening another tomcat process.
Maybe it’s because you have started many Tomcats. I’ve encountered this before, just kill it and start again
The browser
8080
port can be opened, indicating that the system already has a Tomcat process running.This usually occurs on Tomcat installed using the installation package under Windows. You can refer to the following steps to handle it:
Command line input
services.msc
to start the local service managerFind the Apache Tomcat service, double-click to change the startup type to
手动
in the pop-up window, and click to stop at the same timeTry to start Tomcat in IDE
Kill the processes occupying ports 8005 and 8009 as well
It may be opened multiple times, so this process already exists. You can enter netstat -ano in cmd to find the process occupying the port, then write down the process number, and then taskkill
The easiest way is to restart the computer. Although it seems stupid
The tomcat service should be started by default when booting. Then if you restart it manually, the port should conflict
1. Turn off eclipse
2. Find java.exe in the task manager and close it all
3. Re-open eclipse and start tomcat
Both cannot be used at the same time. Unless using a different port.