'Starting Tomcat v8.0 Server at localhost' has encountered a problem.,tomcatencountered
'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 KC:\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
問題已解決