【发布时间】:2015-06-16 07:08:33
【问题描述】:
我是 Mac OSX,我之前曾多次编辑过我的 hosts 文件,而且它总是有效。但是突然之间,我现在不再得到我想要的结果了。
/etc/hosts的内容目前是这样的:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
www.google.nl www.example.com
但如果我转到 www.example.com,我仍然会得到 example.com 网站而不是 google。我重新启动了浏览器和整个笔记本电脑,但没有任何变化。
有谁知道这怎么可能不再起作用?欢迎所有提示!
【问题讨论】: