Home > Common Problem > What to do if GitHub cannot be accessed

What to do if GitHub cannot be accessed

angryTom
Release: 2020-03-16 14:10:56
Original
34488 people have browsed it

What to do if GitHub cannot be accessed

What to do if GitHub cannot be accessed

Solution: Modify the hosts file of this machine (windows operating system)

Steps:

1. Open the hosts directory: C:\Windows\System32\drivers\etc

2. Copy the hosts file to the desktop and add the following information:

#github
192.30.253.113 github.com
151.101.185.194 github.global.ssl.fastly.net
Copy after login

3. Use The modified hosts file overwrites the original file

Note: The corresponding IP addresses of github.com and github.global.ssl.fastly.net may vary depending on the machine. You can use this site to query the IP addresses of the corresponding domain names (https ://www.ipaddress.com/ip-lookup)

Recommended learning:MySQL video tutorial

The above is the detailed content of What to do if GitHub cannot be accessed. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
github - git checkout -f problem
From 1970-01-01 08:00:00
0
0
0
css - hexo+github build blog
From 1970-01-01 08:00:00
0
0
0
How to upload json files to github repository?
From 1970-01-01 08:00:00
0
0
0
How to delete released Releases on github
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template