记录错误:tomcat“socket close”错误

Error running 'Tomcat 8.5.37': Unable to open debugger port (127.0.0.1:9562)

使用打开cmd.exe 输入

1)tasklist获取进程的相关信息

2)findstr 辅助过滤

3)taskkill 结束进程

netstat -ano | find “端口号”

tasklist | find "<PID号>"

taskkill /pid "<PID号>" /f

或者

netstat -ano|find "端口号"

tasklist|findstr "端口号"

taskkill /f /im java.exe

猜你喜欢

转载自www.cnblogs.com/GGYC/p/10550547.html