电脑hosts文件如何修复
更新日期:2019-12-10 16:27:21
来源:互联网
![](https://www.somode.com/uploadimg/temp/54a40113b46bc7228520ff6ec0d24398.png)
电脑的hosts文件该如何修复呢?其实这个操作非常的简单,今天小编整理了相关的教程,下面跟我一起来看看吧。
![](https://www.somode.com/uploadimg/image/20191210/20191210162139_15142.png)
电脑hosts文件修复教程
1、将hosts文件复制到桌面,用记事本打开
![](https://www.somode.com/uploadimg/image/20191210/20191210162320_36238.png)
2、删除记事本的全部内容,将以下内容复制后放入文件然后保存:
# 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.somode.com/uploadimg/image/20191210/20191210162330_37512.png)
3、将修改后的hosts文件放入c:\windows\system32\drivers\etc替换以前的hosts文件,修复成功!
![](https://www.somode.com/uploadimg/image/20191210/20191210162343_96235.png)
hosts相关问题
hosts文件位置在哪>>>
以上就是系统之家为您带来电脑hosts文件修复教程,希望可以解决掉您的困惑。想了解更多的问题请收藏系统之家哟。欢迎您的查看。
有帮助
无帮助
- 手机cpu性能排行榜天梯图最新2023年7月3455845次
- 显卡天梯图最新高清完整版2023年7月2009181次
- 2023最新显卡跑分排行榜1726188次
- 2023年最新CPU天梯图1559513次
- 截图快捷键ctrl加什么662708次
- 电脑系统安装教程574595次
- 笔记本CPU排行天梯图2021441854次
- reboot and select proper boot device怎么修复339906次
- 2023年最新笔记本显卡天梯图319996次
- 手机cpu性能天梯图2023年7月最新版302249次
周
月