[Solved] Error running ‘xyp’: Unable to open debugger port (127.0.0.1:56767): java.net.BindException “Address already in use: NET_Bind

When the web project is running, the idea may report error running ‘Tomcat’: unable to open debugger port (127.0.0.1:56767): Java net. Socketexception “socket closed” error, unable to start Tomcat
at this time, you need to find the occupied port and end the task!

Step 1: open the DOS command window. Enter netstat – ano or netstat – ano | find “56767”

Find the PID number corresponding to the port

Step 2: open task management (Ctrl + x)

Find the PID corresponding task “end task” in “details”

Perfect solution!

Similar Posts: