DEV Community

Cover image for How to Access raw.githubusercontent.com on JIO Networks
Samir
Samir

Posted on

How to Access raw.githubusercontent.com on JIO Networks

If you are a programmer and use GitHub for your projects, or to access other repository code, you may sometimes need to get the raw content of a file

GitHub raw file buttons

GitHub file raw content

But, if you use JIO as your internet service provider, you may not be able to access the site, and therefore, you won't be able to copy or see the file contents in raw format.

Cannot access raw.githubusercontent

Why is this happening?

Internet service provider Jio has blocked the domain on their Cellular and Fiber connections. The reasons are not clear as to why Jio has done it. Although they should not be blocking it in the first place.

Any developer using Jio Internet may find this irritating, but worry not! We can fix this.

I will show you how you can unblock raw.githubusercontent on your Android device and Windows desktop.

How to unblock raw.githubusercontent on your Jio Internet?

On Android

  1. Go to your device's settings, and then connections.

  2. Find an option named "Private DNS" under your connections tab.

  3. Your private DNS is most likely set to 'Automatic'. Change it to the Designated private DNS which allows you to set the DNS yourself.

  4. Now, enter the custom DNS provider name. Choose one of these hostnames below:

    • dns.google.com
    • dns.adguard.com
  5. Save the settings and try accessing this raw file link. It should work now! 🎉

On Windows

  1. Make sure to connect your Jio internet to your desktop first.

  2. Go to Control Panel 👉 Network and Internet 👉 View network status and tasks

  3. Click on your network name (where it's written Access type: Internet & Connections: Your internet name).

  4. Click on Properties.

  5. Under the "This connection uses the following items:" section, double-click on Internet Protocol Version 4 (TCP/IPv4) (or after selecting it, click on properties).

  6. Select "Use the following DNS server addresses" and then enter the following values in their corresponding fields:

    • Preferred DNS server: 8.8.8.8
    • Alternate DNS server: 8.8.4.4
  7. Save the settings and try accessing this raw file link.

Conclusion

In both of these OS guides, we can see that we would have to configure a manual DNS resolver to bypass the restrictions. If you are on a different OS such as Linux or MacOS, refer to this article which provides specific guides on configuring DNS for each OS platform.

If this did not work out for you, or you think this article can be improved, then let me know in the comments section! If you have made it to the end, Thank you for your time. 💖

Additional references:

Top comments (0)