host文件位置在哪
时间:2017-04-21 09:21
小编:400下载站
host文件是什么?
host文件是一个没有扩展名的系统文件,它的主要作用是可以加快域名解析,还可以屏蔽某些网站!
host文件位置在哪?
host文件的位置在“c:windowssystem32driversetc的路径下,快捷键Win+R打开运行后输入c:windowssystem32driversetc
host文件怎么修复?
host文件出错了,该怎么进行修复呢?具体解决方法如下:找到C盘的host文件用记事本打开,将原host文件内容替换为下面的内容,然后保存即可!必要时再重启一下电脑试试!
# 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