在Eclipse中启动Tomcat报错如下:
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).
1. 在dos下,输入:(说明:查看占用8080端口的进程,显示占用端口的进程
)
netstat -ano|findstr 8080
- 在dos下,输入:(
说明,运行windows自带taskkill命令,将上面显示的进程号,结束掉。
)
taskkill /pid 6856 /f
如下图所示:
这样就能解决掉tomcat占用8080端口问题,不用重启计算机了。
公众号ID:longjiazuoA

未经允许不得转载:人生设计师 » Eclipse在Windows下怎么解决tomcat占用8080,443端口占用的问题