

InterviewSolution
Saved Bookmarks
1. |
Solve : Can't block facebook using hostfile? |
Answer» so I go to C:\WINDOWS\system32\drivers\etc # Copyright (c) 1993-1999 Microsoft Corp. But facebook WILL NOT DIE. I need to use the computer to study. my little sister want to use it to study, but rrrrrrrrrrrreally she just wants to use facebook. And if you don't help me.....the TEENY boppers win Well your got it there twice commented and then the real one is incorrect. You where close... C:\WINDOWS\system32\drivers\etc\hosts 0.0.0.0 www.facebook.com this one isnt working either # Copyright (c) 1993-1999 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 127.0.0.1 localhost 0.0.0.0 facebook.com Quote from: the_ki on May 17, 2010, 11:01:58 PM this one isnt working either Of course it isn't. look closely at Azzaboi's post. Quote 0.0.0.0 www.facebook.com you need to enter the www portion. facebook.com and www.facebook.com are two completely different addresses by the way. You could use IP instead or *.facebook.com There is a range of IP addresses used by Facebook. 69.63.184.142 69.63.187.17 69.63.187.19 69.63.181.11 69.63.181.12 127.0.0.1 localhost 0.0.0.0 www.facebook.com still not workingTry Start > Run > type 'cmd' without the quotes Under the command prompt, type 'ping facebook.com' and then 'ping www.facebook.com', those will give you IP Addresses which you can then type in to block.I put: Code: [Select]127.0.0.1 www.facebook.com into my hosts file and it worked fine. so did 0.0.0.0, actually. hmmm it says 127.0.0.1 when I pingohhh yeah. It's working. Thanks for your patience. I errrm was pressing "control S" to save the hosts file and it seemed like it only saved when i went file save. SORRY |
|