5636网吧资讯

win7系统Hosts文件异常怎么办

来源:欣欣时间:2017-08-25 18:10

  Hosts文件可以帮助快速访问某个网站,Win7系统Hosts文件还可以屏蔽网站,重新定向网站域名等,但也有网友遇到了win7系统Hosts文件异常的问题,那么这是怎么回事?要怎么解决呢?
  
  一般来讲Windows XP/2003/Vista/2008/7/8/8.1/10用户Hosts文件是在:C:\Windows\System32\drivers\etc
  大家可以直接根据上述路径进入,也可Win+R后输入:C:\Windows\System32\drivers\etc
  Hosts文件修复方法:将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
  127.0.0.1 localhost
  复制代码,将修改后的hosts文件放入C:\Windows\System32\drivers\etc替换以前的hosts文件,修复成功!
 510
以上内容整理自互联网,如有侵权请与小编联系,QQ: 2850592923。欢迎加入网吧业主交流群:609150654(可加)614859884(可加) 加微信群请添加:wbzz5636
5636增值联盟
上一篇 :win10系统dota2无法连接steam的问题 下一篇 :win7升级到Win10系统每次都要重装声卡驱动

相关推荐

5636搜索一下
登录