• <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>

    如何修復電腦hosts文件

    Hosts文件主要作用是定義IP地址和主機名的映射關系,是一個映射IP地址和主機名的規定。

    工具/原料

    • 電腦

    方法/步驟

    1. 1

      用戶HOSTS文件是在“c:\windows\system32\drivers\etc

    2. 2

      Win+R后輸入c:\windows\system32\drivers\etc

    3. 3

      將hosts文件復制到桌面,用記事本打開!

    4. 4

      刪除記事本的全部內容,將以下內容復制后放入文件然后保存: 

      # 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

    5. 5

      將修改后的hosts文件放入c:\windows\system32\drivers\etc替換以前的hosts文件,修復成功!

    6. 6

      Windows10系統修改hosts:

      1.打開“運行”對話框

      2.鍵入hosts文件路徑:C:\WINDOWS\system32\drivers\etc 完成后,

      3.點擊下方的“確定”打開,

    7. 7

      在hosts文件上點擊鼠標右鍵,打開“屬性”

    8. 8

      “安全”選項卡,更改的當前用戶名,然后點擊下方的“編輯”在彈出的編輯權限操作界面,先點擊選中需要更高權限的賬戶名稱,

    9. 9

      直接點擊“是”即可

    10. 10

      在hosts文件上點擊鼠標右鍵,點擊“打開方式”

    • 發表于 2018-01-29 00:00
    • 閱讀 ( 922 )
    • 分類:其他類型

    你可能感興趣的文章

    相關問題

    0 條評論

    請先 登錄 后評論
    聯系我們:uytrv@hotmail.com 問答工具
  • <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>
    久久久久精品国产麻豆