1. Unable to access github
2. Try to ping gitlab.com
3. Open the webmaster tool to find the ip address
"www.github.com" A record/cname detection result--Dns query|dns query--Webmaster Tools
4. Open the host file (C:\Windows\System32\drivers\etc)
20.205.243.166 github.com
5. Ping github again, it’s ok
6. Visit the website, the visit is successful
Seven, related content
reference link
"www.github.com" A record/cname detection result--Dns query|dns query--Webmaster Tools
The solution to github.com unable to connect - Programmer Sought
Github cannot access the solution
Computer can't access github.com solution_github can't access_karolEinstein's Blog-CSDN Blog