无法阻止特定网站

时间:2015-09-23 17:22:32

标签: macos admin

我已经能够阻止Youtube和Facebook网站,但不能阻止亚马逊或谷歌。为什么?似乎这两个网站有不同之处。感谢

Bernardos-MacBook-Pro:~ bernardo$ sudo nano /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
127.0.0.1 www.youtube.com
127.0.0.1 http://www.amazon.es
127.0.0.1 https://www.google.es
127.0.0.1 www.facebook.com

1 个答案:

答案 0 :(得分:2)

在facebook和youtube

上尝试不使用http://