An error occurred when starting Tomcat in Eclipse: the port is already occupied.
This is because when Tomcat is on, eclipse closes abnormally, causing Tomcat to occupy the port all the time.
resolvent
Enter the command in the CMD window–
Netstat – ano | findstr 8080 (8080 refers to the occupied port number)
After the command is executed, you can get the PID of the process that occupies the changed port number
Then enter the command in the CMD window–
Taskkill – PID – F from the last command
ok
Read More:
- Solution to the problem that listen TCP 0.0.0.0:3306: bind: address already in use port is occupied in Linux centos7
- JMeter: java.net.bindexception: address already in use: connect solution
- Through PID (process identification) to find the port (port) occupied applications, to solve the problem of port occupied
- Idea startup error: Port occupied/address already exists
- Port 4200 is already in use.Use ‘-port’ to specify a different port error Reasons
- nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
- Error running ‘Tomcat 9‘: Address localhost:1099 is already in use
- solve java.net.SocketException : Unrecognized Windows Sockets error: 0: JVM_ Bind
- [exception] address already in use: bind
- Error: transport error 202: bind failed: address already in use
- What should be paid attention to in socket programming — bind socket error: address already in use
- Kafka opens JMX port and reports that the error port is occupied
- Some error occurred error: listen eaddinuse: address already in use 127.0.0.1:3000
- Error: Can’t bind the tftp port! Solution
- The solution to “polling news feeds” appeared in Eclipse in Java
- Android error: ADB port is occupied( adb.exe ,start-server’ failed — run manually if necessary)
- Tomcat memory overflow in Eclipse: Java. Lang. outofmemoryerror: permgen space solution:
- View port and resolve port conflict in Windows
- Appium connecting to the ADB 5037 port of nocturnal simulator is occupied by itself
- Solution to can’t bind to local 8600 for debugger