一台WIN XP Pro SP3+IIS5.1的机器,访问http://localhost无法打开,直接输入IP:127.0.0.1就没有问题,检查hosts文件正常。后来ping localhost的时候发现调用的是ping6命令,得到::1:,得知是由于网络连接里配置了ipv6,卸载后localhost可以正常解析为127.0.0.1。

命令卸载方法是“ipv6 -uninstall”,也可以在网络连接属性里卸载。

相关文章:

  • 2022-12-23
  • 2021-12-29
  • 2021-09-23
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
猜你喜欢
  • 2022-12-23
  • 2021-11-24
  • 2021-12-22
  • 2021-11-03
  • 2021-06-16
  • 2022-12-23
  • 2021-06-05
相关资源
相似解决方案