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. Win10如何快速搜索文件2. 統(tǒng)信uos系統(tǒng)怎么進(jìn)行打印測(cè)試頁(yè)和刪除打印機(jī)?3. Win10點(diǎn)擊開(kāi)始菜單沒(méi)有反應(yīng)怎么辦?Win10點(diǎn)擊開(kāi)始菜單沒(méi)有反應(yīng)的解決方法4. Win7怎么恢復(fù)默認(rèn)的用戶(hù)配置文件?5. Win10藍(lán)屏提示memorymanagement怎么辦?Win10藍(lán)屏提示memorymanagement的解決方法6. Win10沒(méi)有1920x1080分辨率怎么辦?Win10沒(méi)有1920x1080分辨率解決方法7. CentOS7.0怎么設(shè)置屏幕分辨率?8. Win10系統(tǒng)中使用anaconda的conda activate激活環(huán)境時(shí)報(bào)錯(cuò)應(yīng)該怎么解決?9. Win10中使用cmd命令conda info -e發(fā)現(xiàn)環(huán)境未命名無(wú)法激活怎么辦?10. Win10修復(fù)引導(dǎo)工具怎么使用?Win10修復(fù)引導(dǎo)工具使用教程
