当前位置:酷酷问答>百科知识>hosts文件怎么修复

hosts文件怎么修复

2024-10-29 01:21:17 编辑:zane 浏览量:570

hosts文件怎么修复

的有关信息介绍如下:

hosts文件怎么修复

如果hosts文件被恶意篡改了,那么我们就需要对hosts文件进行修复

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

鼠标右键单击hosts文件

选择用记事本打开该文件

把# 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.kukuwd.com/article/99269.html
热门文章