Tomcat startup port number always prompts that it is occupied, but port 8080 can be opened in the browser, how to solve the problem
< /p>
< /p>
巴扎黑2017-05-16 13:12:32
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.
阿神2017-05-16 13:12:32
Maybe it’s because you have started many Tomcats. I’ve encountered this before, just kill it and start again
淡淡烟草味2017-05-16 13:12:32
The browser8080
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 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
Try to start Tomcat in IDE
怪我咯2017-05-16 13:12:32
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
为情所困2017-05-16 13:12:32
The tomcat service should be started by default when booting. Then if you restart it manually, the port should conflict
迷茫2017-05-16 13:12:32
1. Turn off eclipse
2. Find java.exe in the task manager and close it all
3. Re-open eclipse and start tomcat
给我你的怀抱2017-05-16 13:12:32
Both cannot be used at the same time. Unless using a different port.