hosts文件为空白或删除情况修复

2025-04-21 18:40:44

1、找到hosts文件,其中有两种方法:一是通过路径查找:c:\windows\system32\drivers\etc二是通过运行(快捷键Win+R)输入“路径”查找。

hosts文件为空白或删除情况修复
hosts文件为空白或删除情况修复

2、进入文件夹以后,找到ho衡痕贤伎sts文件,如果打开为空,则复制以下内容保存即可。(如果出现不能编辑的情况,先把hosts文件复制到桌面,修改保台仵瑕噤存以后,在复制回到该路径下)# 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 host127.0.0.1 localhost

hosts文件为空白或删除情况修复
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢