用户HOSTS文件是在“c:\windows\system32\drivers\etc
打开记事本,以管理员身份打开hosts文件
打开后hosts文件是空的,不用担心,原本hosts文件是空的,都是后期人为加上去的
先复制下面这段后放入文件然后保存:
# 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.
#
这样就好了~
网友评论