8080端口被佔用問題

(1)錯誤:

Starting Tomcat v7.0 at localhost' has encountered a problem.
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).

(2)意思:

是tomcat的8080端口被佔用了

(3)解決:

1.命令行netstat -ano

顯示結果


可見8080端口確實被佔用了,記住最後一類的數字(1600)

2.命令行輸入tasklist|findstr "1600"(注:第一個分號前有個空格)


可見我的是javaw.exe佔用了8080端口

3.ctrl+shift+esc打開任務管理器,點詳細信息

結束到進程就ok了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章