想知道hosts文件怎么修复

外科
free雅典娜2 2018-12-19 11:17:40
如果hosts文件被恶意篡改了,那么我们就需要对hosts文件进行修复

工具/原料

电脑

方法/步骤

1/6分步阅读

依次展开c:\windows\system32\drivers\etc

[图]2/6

鼠标右键单击hosts文件

[图]3/6

选择用记事本打开该文件

[图]4/6

把# 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/6

点击文件按钮

[图]6/6

点击保存按钮即可

[图]操作系统HOSTS

编辑于2018-12-19,内容仅供参考并受版权保护

相关热门经验知识

  1. 怎样快速记忆英语单词

    我们在初高中学习英语时常常比较侧重于语法的学习,往往忽视了词汇量的积累,而掌握词汇量的多少已经成为衡量一个人外语水平的重要标志。有时或许我们也认识到了这一点,但往往记忆的效果不理想,也做不到持之以恒,常常是即兴记忆。...

  2. 2021年的法定节假日怎样安排的?

    2021年的法定节假日有元旦节、春节、清明节、劳动节、端午节、中秋节和国庆节。每个法定节假日该休息哪几天呢?下面我们一起来了解下吧。提前了解法定节假日的安排,可以提前计划出行,出行的时候建议要注意安全。 ...