网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

hosts文件位置在哪里_hosts文件怎么修复

时间:2024-10-12 06:06:27

hosts文件是一个没有扩展名的系统文件,它的主要作用是能加快域名解析,还可以屏蔽网站等。。本文跟你详解hosts文件的前世今生。

hosts文件位置在哪里_hosts文件怎么修复

Hosts文件位置在哪里?

1、windows xp/2003/vista/2008/7/8用户HOSTS文件是在“c:\windows\system32\drivers\etc,注意这个文件一定是在系统盘,如果你的系统在D盘请自行修改前面的盘符。如下图所示

hosts文件位置在哪里_hosts文件怎么修复

3、在运行文本框输入c:\windows\system32\drivers\etc,点击确定按钮,如下图所示

hosts文件位置在哪里_hosts文件怎么修复

2、删浑睡蔽嗍除记事本的全部内容,将以下内容复制后放入文件然后保存:# 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

hosts文件位置在哪里_hosts文件怎么修复
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com