idea Error running 'tomcat': Unable to open debugger port (127.0.0.1:59511): java.net.SocketException "socket closed"
原创
2017-12-02
java

idea 启动失败

参考网址

https://stackoverflow.com/questions/26273743/unable-to-open-debugger-port-in-intellj-idea

错误信息()

Error running ‘tomcat’: Address localhost:1099 is already in use

Error running ‘tomcat’: Unable to open debugger port (127.0.0.1:59511): java.net.SocketException “socket closed”

(直接弹出的提示消息)
image.png
(Event Log中的消息提示,这个里面有个重要的信息,端口占用。)
image.png

解决方法

1.杀死占用端口的程序
netstat -aon|findstr 1099 (找到占用端口的程序)
taskkill -f -pid 3756 (杀死占用端口的程序)

2.更换 jmx prot

image.png