您的位置:首页 > 本地本地
系统原始host文件目录在哪?
admin2024-07-13人已围观
一、系统原始host文件目录在哪?
下面代码粘贴到记事本保存为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.
#
# 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
二、HOST文件位置
C:\WINDOWS\system32\drivers\etc
三、系统的Hosts文件应该怎么找到?
Hosts文件路径:C:\Windows\System32\drivers\etc
该文件没有扩展名,打开方式里面选择记事本就好
不过根据你说的情况,也有可能是恶意插件或者广告程序引起的,可以用360或者杀毒软件检查一下。
不过还是看看Hosta里面的指向情况吧,呵呵
我现在用的Windows7系统,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.
#
# 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
四、windows7中有一个host文件夹在哪里?
C:\Windows\System32\drivers\etc
放在这个文件夹里面
假设系统装在C盘
很赞哦! ()
上一篇:没有南宁市居住证能过户二手车么?'>谈谈自媒体、新媒体和融媒体
下一篇:返回列表'>返回列表