Error running Tomcat8: Address localhost:xxxx is already in use

时间:2021-11-21 16:36:31

参考自: https://blog.csdn.net/huazhongkejidaxuezpp/article/details/41813683

第一步,命令提示符号,执行命令:netstat -ano

Error running Tomcat8: Address localhost:xxxx is already in use

找到被占用的端口 对应的PID

 

第二步,命令提示符号,执行命令:tasklist(通过pid 1092定位)

Error running Tomcat8: Address localhost:xxxx is already in use

可见,该占用1099端口的进程是java.exe

 

 第三步,通过任务管理器,终止进程java.exe

 Error running Tomcat8: Address localhost:xxxx is already in use