第一步:在桌面上点击开始,在里面打开运行,然后在命令行里输入%systemroot%system32driversetc,确定。
第二步:然后就出现文件夹窗口,在里面找到hosts,鼠标右键单击这个文件,在下拉里面点击删除。
第三步:然后在文件夹窗口,用鼠标右键点击空白处,新建文本文档。
第四步:用鼠标右键点击新建的文本,出现一个重命名的命令,把名字改为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
复制到记事本里。
第八步:然后保存文件,关闭。就可以了.