

InterviewSolution
Saved Bookmarks
1. |
Solve : Hosts file will not block websites, no matter what I do.? |
Answer» <html><body><p>Hi- I'm sort of your standard internet user, so I'm not super tech savvy but I'm familiar with blocking websites using the hosts file and have done so <a href="https://interviewquestions.tuteehub.com/tag/many-554478" style="font-weight:bold;" target="_blank" title="Click to know more about MANY">MANY</a> times without difficulty. For some reason, it no longer seems to work. I'm trying to take a social media break, and I need to block the websites I <a href="https://interviewquestions.tuteehub.com/tag/usually-722248" style="font-weight:bold;" target="_blank" title="Click to know more about USUALLY">USUALLY</a> go to in order to make it easy for myself. Including Facebook, Reddit, etc... <br/><br/>I <a href="https://interviewquestions.tuteehub.com/tag/got-23540" style="font-weight:bold;" target="_blank" title="Click to know more about GOT">GOT</a> the full GitHub list of domains and IPS for Facebook to block so it's not that I haven't included all the IPs.<br/>I've tried using both 127.0.0.1 and 0.0.0.0 ... nothing. I've tried changing the formatting. Nothing. <br/><br/>I'm at my wits end. I'm so frustrated. What can I do?<br/><br/>Thank you so much in advance.Bumping this; does anyone have any ideas?The HOSTS file cannot block IP addresses. You can use it to "block" Domains by causing the host name to map to the local loopback address.<br/><br/>I'd expect a "127.0.0.1 <a href="https://www.facebook.com">www.facebook.com</a>" line would probably get you most of the <a href="https://interviewquestions.tuteehub.com/tag/way-246442" style="font-weight:bold;" target="_blank" title="Click to know more about WAY">WAY</a> to blocking facebook.<br/><br/>Remember you need to reboot for the HOSTS file <a href="https://interviewquestions.tuteehub.com/tag/changes-246902" style="font-weight:bold;" target="_blank" title="Click to know more about CHANGES">CHANGES</a> to take effect.</p></body></html> | |