2024年10月Win10系统hosts文件空白修复方法教学

发布时间:

  ⑴hosts文件空白修复方法教学分享。有用户发现自己的电脑中hosts文件变成空白的了。如果这个文件出现了错误,那么可能会导致电脑出现一些问题。比如网络无法正常的连接,或者访问网页出现错误。那么如何恢复这个文件,一起看看解决的方法吧。

  ⑵Win系统hosts文件空白修复方法教学

  ⑶找到hosts文件,其中有两种方法:

  ⑷一是通过路径查找:

  ⑸c:windowssystemdriversetc

  ⑹二是通过运行(快捷键Win+R输入“路径”查找。

  ⑺进入文件夹以后,找到hosts文件,如果打开为空,则复制以下内容保存即可。(如果出现不能编辑的情况,先把hosts文件复制到桌面,修改保存以后,在复制回到该路径下

  ⑻# Copyright (c - 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, ments (such as these may be inserted on individual

  ⒃# lines or following the machine name denoted by a ‘#’ symbol.

  ⒄# For example:

  ⒅# ... rhino.acme. # source server

  ⒆# ... x.acme. # x client host

  ⒇... localhost

  ⒈上述便是win hosts文件空白的解决方法,遇到相同情况的小伙伴们可以尝试上面的方法来解决看看吧。