help

yyf_321 2002-07-25 09:52:49
我配置好服务器后为什么用127.0.0.1可以访问可是用localhost却出现下面的错误呢?
While trying to retrieve the URL: http://localhost/

The following error was encountered:

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

Name Error: The domain name does not exist.
This means that:

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


127.0.0.1和localhost不是一样的吗?望高手指教!!!
...全文
36 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
_Shakespeare 2002-07-25
  • 打赏
  • 举报
回复
localhost是你在没有给你的主机起名字的前天下可以用这个来实现http;//localhost,可能是你的主机有名字,比如说叫jack,beyong什么的,先检查一下这个

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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