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
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!