怎么找到host文件位置?如何修复?

发布时间:2022-10-24 07:18 来源:群英 阅读:137 作者:群英 栏目: 主机资讯 欢迎投稿:712375056

 host文件是什么?
 
    host文件是一个没有扩展名的系统文件,它的主要作用是可以加快域名解析,还可以屏蔽某些网站!
 
    host文件位置在哪?
 
    host文件的位置在“c:windowssystem32driversetc的路径下
 
     
 
    host文件怎么修复?
 
    host文件出错了,该怎么进行修复呢?具体解决方法如下:找到C盘的host文件用记事本打开,将原host文件内容替换为下面的内容,然后保存即可!必要时再重启一下电脑试试!
 
    # 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

来源链接:https://www.qy.cn/zx/idc/887.html

本站声明:网站内容来源于网络,如有侵权,请联系我们,我们将及时处理。

免责声明:本站发布的内容(图片、视频和文字)以原创、来自本网站内容采集于网络互联网转载等其它媒体和分享为主,内容观点不代表本网站立场,如侵犯了原作者的版权,请告知一经查实,将立刻删除涉嫌侵权内容,联系我们QQ:712375056,同时欢迎投稿传递力量。