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

时间:2018-03-16 00:13:24   收藏:0   阅读:4830

  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

技术分享图片

或者是用下面的方法

技术分享图片

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!