1. 程式人生 > >Eclipse啟動Tomcat埠被佔用解決方法

Eclipse啟動Tomcat埠被佔用解決方法

啟動Tomcat報以下錯誤

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

解決方法一:開啟工作管理員把【javaw.exe】程序結束

解決方法二:找到Tomcat 的bin目錄,執行【shutdowm.sh】檔案

回到Eclipse中再次選擇啟動Tomcat 服務就可以成功運行了