How to Access raw.githubusercontent.com on JIO Networks
Tags: jio, github, community, help
Published: 2023-12-12 15:39:51

If you are a programmer and use [GitHub](https://github.com/) 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](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ycdr7ydaoq6vt3skehqf.png)

![GitHub file raw content](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sufizgemiyoauwkv2ozd.png)

But, if you use [**JIO**](https://www.jio.com/) 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](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j95ns3tb54bfhkgycnrd.png)

## 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](https://raw.githubusercontent.com/) 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.](https://raw.githubusercontent.com/freeCodeCamp/learn-periodic-table-database/v1.0.4/atomic_mass.txt) 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.](https://raw.githubusercontent.com/freeCodeCamp/learn-periodic-table-database/v1.0.4/atomic_mass.txt)

<video autoplay loop width="1024" height="auto" controls>
    <source src="https://media.discordapp.net/attachments/1183140693577826324/1183140752088387644/devto_github_unblock_video.mp4" type="video/mp4">

## 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](https://developers.cloudflare.com/1.1.1.1/setup/android/) 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:

* [Stackoverflow thread](https://stackoverflow.com/questions/76292834/jio-blocked-raw-githubusercontent-com)

* [GitHub discussion](https://github.com/orgs/community/discussions/42655)