Eclipse launches Tomcat Error: Several ports (8080, 8009) required by Tomcat v8.0 is already in use.
Eclipse launches Tomcat Error:
Several ports (8080, 8009) required by Tomcat v8.0 Server at localhost is already in use. The server may already is running in another process, or a system process could be using the port. To start this server you'll need to stop the other process or change the port number (s).
It can be judged that 8080, 8009 ports have been occupied, by the following methods to find out which process is occupied:
In the Windows box, enter Netstat-aon | findstr 8080
Obtaining the port is occupied by a process with a PID of 8060
Input tasklist |findstr 8060:
Can get the current port is Javaw.exe occupied
Continue entering Taskkill-f-im Javaw.exe or Taskkill/pid 8060/f
End the process
Start Tomcat normal again in eclipse
Tomcat Port number is occupied