hosts文件路径:WINDOWS\system32\drivers\etc\hosts
内容
127.0.0.1 localhost
修改Windows 7 的hosts文件的方法
1.进入C:\Windows\System32\drivers\etc目录
2.选中hosts文件,点击右键,属性-->安全,为当前用户分配写权限(否则无法保存hosts文件)
3.完成DNS修改后,在控制台上执行ipconfig /flushdns,更新DNS配置。
4.OK!!
若转载请注明出处: Spirit's Home
本文地址: http://www.7788sky.cn/post/hosts-win7-lujing.html
0 Response to “hosts文件路径”