Return to site

Block ip address on mac for youtube

broken image
broken image

See the image below for a visual reference. Then, type: 127.0.0.1 If you want to block more websites, keep using the same loop-back address, and continue adding similar commands into new lines. To do so, after the very end of your hosts file contents, press enter to get to a new line. Without getting into too many technical details for 127.0.0.1, just know that this is something you’d be using. Step 2: Assign the loop-back IP address of 127.0.0.1 to the sites you want to block In this path, you’d find your hosts file. By default, almost all hosts file are located at ↣C:\Windows\System32\drivers\etc. Step 1: First & foremost, you’d have to navigate to your hosts file. Step by Step Instructions on Blocking YouTube or Any Sites on Windows 10 Luckily, what we’d be doing is something as simple as adding one line of code - while ensuring we’re not making tweaks to the existing. It’s actually quite a useful utility for a simple text file, but any wrong configurations here can adversely affect your ability to connect to the internet.

broken image

To block YouTube on Windows 10, or any website for that matter, we’d be using what’s called the “hosts file.”Ī hosts file is a plain text file that can be used to assign a specific IP address of your choosing for a particular domain, which is also how it can be leveraged to block certain websites, spyware, ads, or QA-ing server migrations.