zoukankan
html css js c++ java
修改hosts文件
本文内容皆为作者原创,如需转载,请注明出处:
https://www.cnblogs.com/xuexianqi/p/13219638.html
一:引言
在网上浏览信息时,我们一般输入的都是网站的域名(如:www.baidu.com),而不是较难记忆的IP地址(如:14.215.177.38),所以我们在浏览器输入域名时,需要DNS对域名进行解析。
而hosts文件负责解析域名并优先于DNS服务,通常很多恶意软件会恶意更改该文件来达到劫持网站的目地。
而修改hosts文件后,可能会遇到保存不了的情况,这时候就需要用到管理员的权限了
二:具体步骤
1.点击左下角的Windows图标,在应用 - Windows附件 - 记事本 - 右键 - 以管理员身份运行
2.点击:文件 - 打开
3.在
C:WindowsSystem32driversetc
中找到 “hosts.txt”(有的可能只有“hosts”),点击 “打开”
4.此时,就能以管理员的身份来编辑hosts文件了,建议添加在结尾处
5.编辑完成后,点击左上角:文件 - 保存,即可
6.大功告成!!!
查看全文
相关阅读:
[转]VS2013自带SQL Server 的启用方法
[转]CryptographyHelper.cs
[转]Oracle 经验集
程序的健壮性和鲁棒性
死理性派恋爱法:拒绝掉前面37%的人
Asp.net页面间传值方式汇总
【操作系统】总结五(I/O管理)
Windows编程
【操作系统】磁盘
【操作系统】文件系统
原文地址:https://www.cnblogs.com/xuexianqi/p/13219638.html
最新文章
《程序员代码面试指南》第一章 栈和队列 生成窗口最大值数组
《程序员代码面试指南》第一章 栈和队列 用栈实现汉诺塔问题
《程序员代码面试指南》第一章 栈和队列 用一个栈实现另一个栈的排序
《程序员代码面试指南》第一章 栈和队列 猫狗队列
《程序员代码面试指南》第一章 栈和队列 仅用递归函数和栈操作逆序一个栈
《程序员代码面试指南》第一章 栈和队列 由两个栈组成的队列
《程序员代码面试指南》第一章 栈和队列 设计一个有getMin功能的栈
【邻接矩阵+基础BFS】PAT-L3-008. 喊山
【搜索-剪枝-偏难】PAT-天梯赛-L3-015. 球队“食物链”
【最短路+较复杂处理】PAT-L3-005. 垃圾箱分布
热门文章
【经典/基础BFS+略微复杂的题意】PAT-L3-004. 肿瘤诊断
【数组模拟的链表or复杂模拟】PAT-L2-002. 链表去重
【开200数组解决二叉搜索树的建立、遍历】PAT-L3-016. 二叉搜索树的结构——不用链表来搞定二叉搜索树
【小顶堆的插入构造/遍历】PatL2-012. 关于堆的判断
【数组模拟-小顶堆的插入构造/遍历】PAT-L2-012.-关于堆的判断--数组模拟
【PAT-二叉树】L2-011. 玩转二叉树- 仅仅开100大的数组模拟即可!
[转]SQLite 经验集
[转]MySQL 经验集
[转]Winform 经验集
ConfigHelper.cs
Copyright © 2011-2022 走看看