1. 程式人生 > >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.

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 :


結束