为什么我输入http://localhost:8080就会自动跳转到http://www.localhost.com

cerry 2008-10-29 10:10:53
如题。我一输入http://localhost:8080就会自动跳转到http://www.localhost.com 真不知道是怎么回事,太折磨人了。
...全文
4376 16 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
16 条回复
切换为时间正序
请发表友善的回复…
发表回复
chjx1982 2008-10-29
  • 打赏
  • 举报
回复
有没有在server.xml里进行过设置。
还是在别的地方进行过特别的设置。
java19880512 2008-10-29
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 jianpc 的回复:]
什么服务器?是不是服务器配置了IP与域名对应。
[/Quote]
???
sinsuo 2008-10-29
  • 打赏
  • 举报
回复
直接打http://127.0.0.1:8080/也可以
jianpc 2008-10-29
  • 打赏
  • 举报
回复
什么服务器?是不是服务器配置了IP与域名对应。
sgdb 2008-10-29
  • 打赏
  • 举报
回复
换个浏览器看看呢
lizhi1026 2008-10-29
  • 打赏
  • 举报
回复
1.要么文件有问题;
2.要么RP问题;
cerry 2008-10-29
  • 打赏
  • 举报
回复
谢谢前面帮顶的兄弟
siyanfighting :hosts文件没有问题。我看过了。
# copyright (c) 1993-1999 microsoft corp.
#
# this is a sample hosts file used by microsoft tcp/ip for windows.
#
# this file contains the mappings of ip addresses to host names. each
# entry should be kept on an individual line. the ip address should
# be placed in the first column followed by the corresponding host name.
# the ip address and the host name should be separated by at least one
# space.
#
# additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# for example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

哒哒 2008-10-29
  • 打赏
  • 举报
回复
IE游览器,把游览器的默认地址,改掉..
oklinsong 2008-10-29
  • 打赏
  • 举报
回复
端口问题??
耶律火柴 2008-10-29
  • 打赏
  • 举报
回复
貌似hosts文件的问题以查看一下
xuhua205 2008-10-29
  • 打赏
  • 举报
回复
第一次见,替你顶下
cerry 2008-10-29
  • 打赏
  • 举报
回复
用http://127.0.0.1:8080就没有问题,请问这是怎么一回事
mldxs 2008-10-29
  • 打赏
  • 举报
回复
你的windows设置的问题
没有把127.0.0.1映射成localhost
ad1v1 2008-10-29
  • 打赏
  • 举报
回复
这问题以前我也遇到过
后来不知怎么就好了
  • 打赏
  • 举报
回复
邪乎,没遇到过。。重按服务器吧。
sam_zx2008 2008-10-29
  • 打赏
  • 举报
回复
换个浏览器

81,117

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧