当前位置: 代码迷 >> 网络设计维护 >> 为啥 127.0.0.0 和 127.0.0.1 ping 不通其他的却都正常
  详细解决方案

为啥 127.0.0.0 和 127.0.0.1 ping 不通其他的却都正常

热度:6920   发布时间:2013-02-26 00:00:00.0
为什么 127.0.0.0 和 127.0.0.1 ping 不通其他的却都正常?
好像和HOST文件有关,这个是HOST文件的内容:
# Copyright (c) 1993-2009 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

# localhost name resolution is handled within DNS itself.
# 127.0.0.1       localhost
# ::1             localhost


还有系统是Win7家庭普通版,曾经用这个笔记本做过无线接入点,安装了VMware虚拟机。
------解决方案--------------------------------------------------------
因为你这个hosts文件每条前面都有#号,代表不生效的意思!~WIN7安全性比XP要高,所以有时候会麻烦点!~
------解决方案--------------------------------------------------------
同楼上