IntelliJ IDEA 启动tomcat 报错: idea Unable to open debugger port (127.0.0.1:58233): java.net.SocketException "socket closed"

  debug启动项目弹出提示 Error running omp: Unable to open debugger port (127.0.0.1:50812): java.net.SocketException "socket closed" 错误.导致tomcat服务器无法启动.

  技术分享图片

1、根据端口号“80”查找进程号
netstat -ano|findstr "80"
TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       7796


2、根据进程号“7796”查找进程名
tasklist|findstr 7796
java.exe                      7796 Console                    1     57,368 K

3、根据进程名杀死进程
taskkill -pid 7796 -f

技术分享图片

或者是用下面的方法

技术分享图片

 

文章来自:https://www.cnblogs.com/perfei456/p/8576914.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3