Tag Archives: Unable to open debugger port (127.0.0.1:51112): java.net.SocketException “socket closed”

IDEAUnable to open debugger port (127.0.0.1:51112): java.net.SocketException “socket closed”

This error is usually caused by the port being occupied

Solution 1: change the port in Tomcat parameter configuration

Solution 2: end the process occupying the port

CMD open command line window

Netstat – aon|findstr “1099” query the process occupying port 1099

Taskkill – F – PID 808 closes the process with PID 808