亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

配置不好是什么問題?

Access Error: 404 -- Not Found

Cannot?locate?document:?/


正在回答

2 回答

原因是8080端口被占用(可能是其他軟件,比如NI公司軟件,電子專業童鞋一般都裝有這類軟件)


解決方法1:


When I had an error Access Error: 404 -- Not Found I fixed it by doing the following:


Open command prompt and type "netstat -aon" (without the quotes)

Search for port 8080 and look at its PID number/code.

Open Task Manager (CTRL+ALT+DELETE), go to Services tab, and find the service with the exact PID number. Then right click it and stop the process.


由于我沒有在netstat -aon中找到8080 port,所以選擇方法2:


解決方法2:


記事本打開tomcat安裝文件的conf中server.xml,將


<Connector port="8080" protocol="HTTP/1.1"

? ? ? ? ? ? ? ?connectionTimeout="20000"

? ? ? ? ? ? ? ?redirectPort="8443" />

中的8080改為8081,保存,重新啟動bin目錄下shutdown 然后statup,在地址欄輸入http://localhost:8081/

————————————————

版權聲明:本文為CSDN博主「故鄉的風景」的原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接及本聲明。

原文鏈接:https://blog.csdn.net/WtMaple/article/details/84026905


0 回復 有任何疑惑可以回復我~

找不到本地文件 ,路徑錯了,注意大小寫之類的

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

配置不好是什么問題?

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號