Skip to content

Instantly share code, notes, and snippets.

@Infinixius
Last active May 13, 2023 19:25
Show Gist options
  • Save Infinixius/7e4574f1430c44cc035de3d59552eea5 to your computer and use it in GitHub Desktop.
Save Infinixius/7e4574f1430c44cc035de3d59552eea5 to your computer and use it in GitHub Desktop.
How to Unblock Discord at School w/ hosts.txt

UPDATE 8/21/2022: Our school apparently made some changes to their filter, and instead of blocking discordapp.com (rendering this whole trick useless), they decided to block updates.discord.com, the domain Discord uses to check for updates. This still allows you to access Discord either via the website, or just by redirecting updates.discord.com too. This guide has been updated to include this. <3

The filter at our school apparently wasn't smart enough to block discordapp.com when blocking discord.com. Since Discord hasn't fully migrated yet, discordapp.com will still fully work. In this tutorial I'm going to show you how to redirect discord.com to discordapp.com using hosts.txt on Windows. (This method only works on Windows. You can likely Google for an alternative on Mac and Linux. You need to be rooted on Android for this to work.)

hosts.txt is a file that redirects IP addresses to other IP addresses.

Step 1

Fire up Notepad with administrator mode. On Windows 10 (should be similar on 11) you can do this by typing in "notepad.exe" in start menu, and hitting "Run as Administrator" then accepting the popup that shows up afterward. image

Step 2

After that, go to the top left of Notepad and head over to File > Open, this should bring up a file selection menu. Go to this folder (you can copy and paste): C:\Windows\System32\drivers\etc. Open the file called hosts. If it doesn't show up you might need to change the filter to All Files in the bottom right.

image

image

image

Step 3

The file should have opened in Notepad. image

Add this to the end of the file:

# Unblock Discord at School
162.159.135.233 discord.com
162.159.135.232 updates.discord.com

image

Save the file with File > Save or Ctrl+S and go ahead and open Discord! Both the website and app should work now!

@DevilGlitch
Copy link

Hmmmmmmm ok

@R3ggo
Copy link

R3ggo commented May 9, 2023

Hmmmmmmm ok

@DevilGlitch
Copy link

Hmmmmmmm ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment