打开记事本,以管理员身份打开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.
#
这样就好了~
hosts文件是本地用的域名解析文件,但默认情况内部都是只有描述内容,并没有实际可以解析的数据条目,完全为空也不影响正常使用。通常正常安装的系统,这个文件都会至少有一段描述,如果没有,可能是你使用的集成安装文件进行过修改和优化,给你直接清除了内容,这个没有任何影响的。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)