Unable to open debugger port (127.0.0.1:55119): java.net.SocketException "Socket closed"

1.端口问题

  • 排查端口,lsof -i:8080
  • 修改端口等

2.权限问题

 端口排查无解的话,查看idea 

Event Log(View->Tool Window->Event Log)

09:35    Error running 'T8': Cannot run program "/Users/taozhaoyang/Documents/apache-tomcat-8.5.43/bin/catalina.sh" (in directory "/Users/taozhaoyang/Documents/apache-tomcat-8.5.43/bin"): error=13, Permission denied

09:35    Error running 'T8': Unable to open debugger port (127.0.0.1:52600): java.net.SocketException "Socket closed"

加权限

➜  galaxy_redirectserver git:(master) ✗ cd /Users/taozhaoyang/Documents/apache-tomcat-8.5.43/bin/          
➜  bin chmod a+x catalina.sh 

  

posted @ 2019-07-15 09:47  谢幕ゾ华丽  阅读(547)  评论(0编辑  收藏  举报