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

來源:互聯網
上載者:User

'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

問題已解決

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.