tomcat启动时Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use.

tomcat启动时Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use.

 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).

解决方法:

在dos 环境下:输入  netstat   -ano|findstr  8080 

显示8080端口的进程:如图所示

查出是哪个进程占用8080端口之后,运行windows自带的taskkill命令,将上面的进程结束:taskkill  /pid  10692 /f :


结束


你可能感兴趣的:(tomcat)