url始终找不到的问题

lanfengjiyue 2003-04-01 10:05:10
我在机子上装了web服务器,启动以后浏览http://localhost:8000/

总是输出:
The requested URL could not be retrieved

----------------------------------------------------------------------

While trying to retrieve the URL: http://localhost:8000/

The following error was encountered:

Unable to determine IP address from host name for localhost
The dnsserver returned:

No DNS records
This means that:

The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.

Your cache administrator is webmaster.


在其他机子上就行,为什么?

...全文
144 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
wyqiang 2003-04-01
  • 打赏
  • 举报
回复
把localhost换成本地IP地址试试,我以前也遇到类似的问题的。祝你好运,愚人节快乐!!!
foregump 2003-04-01
  • 打赏
  • 举报
回复
把localhost换成本地IP地址试试,我以前也遇到类似的问题的。祝你好运,愚人节快乐!!!
amjn 2003-04-01
  • 打赏
  • 举报
回复
你的机器是不是多个ip地址
puppy_lu 2003-04-01
  • 打赏
  • 举报
回复
你的服务器有没有起?
localhost换成127.0.0.1可不可以?
看看你的C:\WINNT\system32\drivers\etc\hosts文件里面有没有对localhost定义
如果没有,加上“127.0.0.1 localhost”

62,614

社区成员

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

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