打开记事本,以管理员身份打开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.
#
这样就好了~
你好!其实,这个文件只是一个[IP地册如址数据库],用来处理
加快域名解析[自定义域名]
屏蔽广告晌携/插件等。
由于系统都用IP/域名访问系统官网,所以删了/空白也没问题。
附hosts文件原文,您可以用记事本打开C:\windows\system32\drivers\etc\hosts(Windows XP/2000/Vista/7/8/8.1/10)或C:/Windows(Windows 95/98/Me)粘贴(其实也没有用,就是一堆注释):
# 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.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)