'Starting Tomcat v8.0 Server at localhost' has encountered a problem.


'Starting Tomcat v8.0 Server at localhost' has encountered a problem.

“在啟動Tomcat的本地主機服務器V8.0”遇到了問題。

Problem Occurred

發生問題

詳細信息

Port 8080 required by Tomcat v8.0 Server at localhost is 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).

在本地主機被Tomcat8.0服務器所需的端口8080已在使用。服務器可能已經在另一個進程中運行,或一系統過程可使用的端口。要啟動該服務器,您將需要停止其他進程或更改端口號碼。

 

cmd

netstat -ano

Microsoft Windows [版本 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Windows\system32>netstat -ano

 

活動連接

協議 本地地址 外部地址 狀態 PID
……
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 4208
……

 

tasklist|findstr "4208"

Microsoft Windows [版本 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Windows\system32>tasklist|findstr "4208"
ApplicationWebServer.exe      4208 Services                   0     10,392 K

C:\Windows\system32>

任務管理器

詳細信息

NI Application Web Server 的屬性(本地計算機)

禁用 停止

 啟動 Tomcat 8.0

cmd

Microsoft Windows [版本 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\u539f>start http://localhost:8080/

C:\Users\u539f>

瀏覽器

關閉 Apache Tomcat 8.0 服務

打開 eclipse Java EE

Ctrl+Alt+R

問題已解決


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM