我家Hosts文件被损坏怎样修复?

来源:百度知道 编辑:UC知道 时间:2024/05/29 06:13:57

C:\WINDOWS\system32\drivers\etc\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

你把我的复制粘贴过去就行了 把乱七八糟的都覆盖掉 保存一下,然后把文件改成只读属性