WIN10 hosts文件為什么是空白的
很多小伙伴們?cè)谑褂脀in10系統(tǒng)進(jìn)行電腦操作的時(shí)候,都會(huì)有需要打開(kāi)系統(tǒng)hosts文件進(jìn)行處理的情況,不過(guò)有時(shí)我們?cè)诖蜷_(kāi)hosts文件時(shí),發(fā)現(xiàn)文件內(nèi)容居然是空白的,這個(gè)情況是不應(yīng)該出現(xiàn)的,所以小編搜集了全網(wǎng)資料,以下面這篇文章的形式為大家解讀一下這個(gè)問(wèn)題如何解決,感興趣的小伙伴們可以往下看!
找到hosts文件,其中有兩種方法:
一是通過(guò)路徑查找:
c:windowssystem32driverstc
二是通過(guò)運(yùn)行(快捷鍵Win+R)輸入“路徑”查找。

進(jìn)入文件夾以后,找到hosts文件,如果打開(kāi)為空,則復(fù)制以下內(nèi)容保存即可。(如果出現(xiàn)不能編輯的情況,先把hosts文件復(fù)制到桌面,修改保存以后,在復(fù)制回到該路徑下)
# 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 host
127.0.0.1 localhost
看了這么多,你學(xué)會(huì)了嗎?想要獲得最新資訊就來(lái)IE瀏覽器中文網(wǎng)站!簡(jiǎn)單易懂的軟件教程、令人耳目一新的游戲玩法這里統(tǒng)統(tǒng)都有,更多精彩不容錯(cuò)過(guò)!
相關(guān)文章:
1. 如何雙啟動(dòng)Win11和Linux系統(tǒng)?Win11 和 Linux雙系統(tǒng)安裝教程2. 如何安裝win10和win11雙系統(tǒng)?win10和win11雙系統(tǒng)安裝詳細(xì)教程3. deepin20時(shí)間顯示不準(zhǔn)確怎么調(diào)整? deepin時(shí)間校正方法4. Win10電腦的耳機(jī)沒(méi)有聲音怎么辦?5. Win7電腦看視頻黑屏有聲音怎么辦?6. 關(guān)于linux(ubuntu 18.04) 中idea操作數(shù)據(jù)庫(kù)失敗的問(wèn)題7. Win11 22000.71更新了什么?Win11 22000.71更新內(nèi)容8. 如何從 PC 上的 USB 安裝 Windows 119. Win10系統(tǒng)U盤(pán)連接上電腦但不顯示怎么辦?10. win XP系統(tǒng)的電腦無(wú)法連接蘋(píng)果手機(jī)怎么解決
