Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Resolve issues that cannot be accessed by Github

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report