您的位置:首页 > 运维架构 > Tomcat

Jdbc-Tomcat端口占用

2016-08-15 20:30 134 查看


错误:

Several ports (8005, 8080, 8009) required by Tomcat v7.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).

原因:端口占用、相同进程在运行(资源抢占)

解决办法:

在dos下,输入  netstat -ano|findstr 8080

//说明:查看占用8080端口的进程

显示占用端口的进程

taskkill /pid 26580 /f

//说明,运行windows自带taskkill命令,将上面显示的进程号,结束掉。

如下图:



至此,已经结束。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: