标签:端口占用 several ports (8005 8080 8009) required by tomcat v6.0 server at localhost are already in use
今天在eclipse上配置Tomcat,在最后一步布置我的一个WebDemo,开启server时,有时总弹出“Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are already in use“的错误,这是因为当前的8080端口被占用了,我们需要将占用该端口的进程干掉。
在终端中输入lsof -i:8080,找到该端口对应的进程PID:123456、
然后输入kill 123456,即可干掉该进程。
本文出自 “程序员的修炼” 博客,请务必保留此出处http://zhoum1118.blog.51cto.com/10054110/1628972
标签:端口占用 several ports (8005 8080 8009) required by tomcat v6.0 server at localhost are already in use
原文地址:http://zhoum1118.blog.51cto.com/10054110/1628972