`

解决Tomcat 端口被占用问题.Several ports (8005, 8080, 8009) required by Tomcat v6.0

阅读更多
比如说:我们非法关闭Tomcat,则会出现端口占用问题..
Several ports (8005, 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).

从网上搜了解决方法,我的是第一种情况,现在借鉴过来留着用:

1,独立运行的Tomcat没有关闭.
自安装的tomcat程序设置开机自动运行,或者在之前运行过,先关闭ecplipse或jbuilder,在任务管理器中找到Tomcat的进程,将其 kill掉,即可.有时候Tomcat非法关闭时,在进程中,仍然存在,仍然占用8080端口.所以只要将其进程javaw杀掉.就可以解决.

2,安装了其他的软件占用了Tomcat的端口.
用可以查看端口的工具查看一下,或者,直接改掉tomcat的默认端口.即可.

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics