为什么http://localhost:8080会跳转到百度搜索?
如果输入http://127.0.0.1:8080或者http://localhost:8080/index.html都可以打开页面,但就是http://localhost:8080不行,居然会跳转到百度搜索,这是为什么?应该如何解决?
[解决办法]
hosts文件有问题?
ping一下localhost看指向哪里
[解决办法]
你的没有项目名称吗?直接在weap目录下有JSP文件啊?
[解决办法]
你设置过 默认网址吧
发布时间: 2012-05-01 12:48:58 作者: rapoo
为什么http://localhost:8080会跳转到百度搜索?
如果输入http://127.0.0.1:8080或者http://localhost:8080/index.html都可以打开页面,但就是http://localhost:8080不行,居然会跳转到百度搜索,这是为什么?应该如何解决?
[解决办法]
hosts文件有问题?
ping一下localhost看指向哪里
[解决办法]
你的没有项目名称吗?直接在weap目录下有JSP文件啊?
[解决办法]
你设置过 默认网址吧