Hosts文件路径在哪里?
Windows XP/2003/Vista/2008/7/8/8.1/10用户Hosts文件是在:C:\Windows\System32\drivers\etc
你可以直接根据上述路径进入,也可Win+R后输入:C:\Windows\System32\drivers\etc
Hosts文件异常怎么修复?
1、将hosts文件复制到桌面,用记事本打开!
2、删除记事本的全部内容,将以下内容复制后放入文件然后保存:
01# copyright (c) 1993-1999 microsoft corp.
02#
03# this is a sample hosts file used by microsoft tcp/ip for windows.
04# this file contains the mappings of ip addresses to host names. each
05# entry should be kept on an individual line. the ip address should
06# be placed in the first column followed by the corresponding host name.
07# the ip address and the host name should be separated by at least one
08# space.
09#
10# additionally, comments (such as these) may be inserted on individual
11# lines or following the machine name denoted by a '#' symbol.
12#
13# for example:
14#
15# 102.54.94.97 rhino.acme.com # source server
16# 38.25.63.10 x.acme.com # x client host
17127.0.0.1 localhost
18127.0.0.1 localhost
复制代码# 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 127.0.0.1 localhost 127.0.0.1 localhost
3、将修改后的hosts文件放入C:\Windows\System32\drivers\etc替换以前的hosts文件,修复成功!
关键词: Hosts文件路径在哪里 Hosts文件异常怎
推荐内容
- 买盘卖盘的含义是什么?卖盘压单很大说明了什么? a>
- 世界今头条!鹰视狼顾之相是什么?历史上鹰视狼顾之相的人物 a>
- 定期40万一年利息是多少?农行定期存款后急用可以取吗? a>
- 什么快递最便宜?怎么寄快递最划算? a>
- 一天24小时的时辰表是什么?时辰天干地支速查表介绍 每日报道 a>
- 每日看点!网贷逾期多长时间会被起诉?网贷逾期是否会被起诉坐牢? a>
- 全球热点评!qq魔法卡片打不开怎么处理?qq空间魔法卡片打不开治理手段 a>
- 杭州亚运会是第几届亚运会?杭州是中国第几个举办亚运会的城市? a>
- 车损险包括涉水险吗(车涉水后怎样判断有事没事)_环球速读 a>
- 全球今日报丨旅游平台频现“幽灵民宿”,消费者“踩坑”叫苦不迭 a>
- 今日报丨什么是卫生标准操作程序? 卫生标准操作程序的内容分别是怎么样的呢? a>
- 什么是k线图有什么用途?股市交易中如何参与打新股? a>
- “暑期档”将启,助推旅游市场再升温 a>
- 补贴+优惠?薅特斯拉羊毛的好机会来了 a>
- 此windows副本不是正版怎么解决? 怎么快速删掉硬盘里的副本?|世界热点 a>
- 为每个产品做计划表示的是什么含义? 为每个产品做计划的内容具体如何? 世界速看 a>
- 今日观点!工商银行怎么开通短信提醒?工商银行收不到短信怎么办? a>
- 传唤没去一年后还追究吗?传唤属于强制措施吗? 时讯 a>
- 皇明太阳能热水器介绍 四季沐歌太阳能怎么样? a>
- 穆科科年龄有多大?为什么马夏尔叫马厂长? 世界热消息 a>