php - Tomcat startup port number always prompts that it is occupied, but port 8080 can be opened in the browser. How to solve this problem?
世界只因有你
世界只因有你 2017-05-16 13:10:32
0
9
671

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>

世界只因有你
世界只因有你

reply all(9)
巴扎黑

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 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

  • Try 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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template