access error: 404 — not found怎么解决
网页打开报Access Error:404 – Not Found Cannot open document for:/的错误,经查看,是tomcat服务器的8080端口被占用了,找到被占用的程序,将其关掉即可。
下面来演示我寻找是什么程序占用的过程:首先,打开cmd窗口,使用netstat -ano | find “:8080″,列出与8080相关的,最后一列是其PID。
Tomcat出现Access Error:404 — Not Found
解决:改一个端口号,之后重启服务器,可参考 问题一 进行修改端口号
切勿改公认端口(1-1023)和其他常用端口(3306等),推荐9527、9528等
tomcat配置问题:访问http://localhost:8080/ 遇到 Access Error: 404
win7:
8080端口已经被其他应用使用,比如nixxxxxxxxxxxxx
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.
以上来自stackoverflow……
声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:1608196816@qq.com 我们将配合处理!