Quickly solve the problem that Github cannot be accessed

Slow access to Github is a problem that plagues many people. Today we will come up with a solution. According to the following ideas, we can quickly access Github to view the resources we need.

Table of contents

1. Get DNS

2. Modify the contents of the hosts file 

2.1 Modify hosts permissions 

2.2 Modify hosts content 

3. Solve problems easily 


1. Get DNS

First enter the following website: What Is My IP Address? Free IP Lookup

Enter: github.com 

Find the retrieved DNS address: 

2. Modify the contents of the hosts file 

Find the folder path: C:\Windows\System32\drivers\etc\

2.1 Modify hosts permissions 

2.2 Modify hosts content 

Open the hosts file, copy and paste the DNS address you just obtained to the last line of the file, and then leave an empty input: github.com Save the file, and then revisit Github

3. Solve problems easily 

You can see, revisit, you can easily access Github in the browser

Guess you like

Origin blog.csdn.net/weixin_43734080/article/details/131253077