Resolve issues that cannot be accessed by Github
1 Reason:
Github domain name resolution causes occasional inaccessibility to Github websites.
When visiting the URL, search the hosts file first. If there is an IP corresponding to the URL, there is no need for DNS domain name resolution. Therefore, the IP of the URL can be configured as a static IP to reduce the resolution process and improve the access speed.
2 operation
Add the following to the hosts file (located at C:\Windows\System32\drivers\etc):
192.30.253.113 github.com
185.199.108.153 github.github.io
151.101.72.133 assets-cdn.github.com
151.101.185.194 github.global.ssl.fastly.net
3 Refresh network DNS cache
Open the dos window and execute: ipconfig /flushdns
Now you can enjoy visiting Github.
Spring Boot develops small but complete web projects: edu.51cto.com/sd/091c7