版权声明:copyright@lankk1 https://blog.csdn.net/lankk1/article/details/81218562
错误信息:
Unable to open debugger port (127.0.0.1:6078): java.net.SocketException "socket closed"
原因:
debugger的socket端口6078被占用。
解决方案:
step 1:
删除当前的tomcat后新建tomcat修改debugger的port配置,重启服务。
step 2:
如果step 1不能解决问题,查看tomcat中的server.xml文件是否有问题
<!-- <Context path="" reloadable="true" docBase="/"/> -->
# 之前把上面的注释了,放开注释后重启服务解决问题