怎么解決tomcat占用8080端口問題
相信很多朋友都遇到過這樣的問題吧,tomcat死機了,重啟eclipse之后,發現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).
是不是很多人教你重啟電腦呢,下面教大家一個不用重啟計算機 的方法。
此方法也可以解決,windows上如何結束進程的詳細過程,下面附詳細,圖文說明
-
在dos下,輸入 ?netstat ? -ano|findstr ?8080?
//說明:查看占用8080端口的進程
顯示占用端口的進程
-
taskkill ?/pid ?6856 ?/f?
//說明,運行windows自帶taskkill命令,將上面顯示的進程號,結束掉。
下面有圖為證
?
?
怎么解決tomcat占用8080端口問題圖文教程,到此結束,希望對大家有所幫助。祝大家,工作愉快,不用重啟計算機了,次方法也可以解決其他類似問題,在編程當中對大家的困擾。
此方法也可以解決,windows上如何結束進程的詳細過程。祝大家編程愉快。