首页 > 其他 > 详细

Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The serve

时间:2015-01-08 18:11:16      阅读:941      评论:0      收藏:0      [点我收藏+]

    今天用eclipse调试程序,eclipse卡死,我就在任务管理器将eclipse任务结束了。结果重新打开eclipse时,启动tomcat时候一直报8080端口被占用如下错误:

Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).  如图:

技术分享

一看报错就知道8080端口被占了,去任务管理器找到“javaw.exe”,然后结束掉就好了。但是找不到这个“javaw.exe”,所以解决办法就来了。

1、在cmd命令行中输入 netstat  -ano |findstr 8080

2、然后输入:taskkill  /pid 4884 /f  

其中第二个步骤中pid后面的参数是相应的端口的pid。你要问我啥是pid,我是百度的,而且我看了看还忘了pid是啥,我只能让你百度了。。。

解决问题的截图:

技术分享

Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The serve

原文:http://blog.csdn.net/zl544434558/article/details/42525039

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!