preface
Github’s official website speed is slow, but it is not convenient to go to work.
1. Configuration procedure
1.1 CMD View the network connectivity
First open the CMD command window on your computer and enter the following command:
Github is too slow to access because the request has timed out.
1.2 Obtaining the IP address of Github
Here xiaobian provides a website to obtain the relevant IP:
www.ipaddress.com
Enter the following keywords in the search box marked above for search, and then record the IP:
github.com
Copy the code
IP: 140.82.112.3
github.global.ssl.fastly.net
Copy the code
IP: 199.232.69.194
2. Set the host address
The default location of the hosts file in Windows is C:\Windows\System32\drivers\etc\hosts
140.82114.4. github.com
199.232. 5194. github.global.ssl.fastly.net
Copy the code
SwitchHosts is a tool that can quickly configure our host, so you don’t have to find it.
Run the CMD command to PING Github to check its connectivity.
Github website
With that done, let’s go to Github’s website: github.com/
This time casually brush, network thief fast, really cool.
Finally, you can also go to this IP: tool.chinaz.com/dns,
conclusion
It only takes two lines of configuration to quickly browse Github. If you like, you can share your favorite things in the comments below.