IDEA Error running 'Tomcat 9.0.40': Unable to open debugger port (127.0.0.1:44766): java.n

1.在 Event log 查看哪个端口被占用
IDEA Error running 'Tomcat 9.0.40': Unable to open debugger port (127.0.0.1:44766): java.n

2.运行cmd 输入命令 netstat -ano | findstr "1099" 查询这个端口的进程id是多少
IDEA Error running 'Tomcat 9.0.40': Unable to open debugger port (127.0.0.1:44766): java.n

3.查询这个进程id 是哪个进程 tasklist | findstr "20284"
IDEA Error running 'Tomcat 9.0.40': Unable to open debugger port (127.0.0.1:44766): java.n

4.确认进程,没问题时杀死进程 taskkill /pid 20284 -f
IDEA Error running 'Tomcat 9.0.40': Unable to open debugger port (127.0.0.1:44766): java.n

上一篇:JMeter java.net.SocketException:Operationnotsupported:connect解决方案


下一篇:java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized...