In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to solve the problem that you can't visit github in China". Friends who are interested might as well take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to solve the problem that you can't visit github in China".
The recent visit to GitHub is always unstable, often out of contact, and makes all kinds of mistakes (OpenSSL SSL_read: Connection was reset, errno 10054, Connection refused...).
The cause is probably that the IP of GitHub changes frequently (it may change several times a day). There is a problem with our local DNS parsing, and the solution is to query the IP of github and write it into our hosts file by hand.
Visit https://github.com.ipaddress.com/
IP Address is the IP address
Directory: C:\ Windows\ System32\ drivers\ etc
Open the hosts file
Add a line 140.82.112.4 github.com at the end (IP uses the latest IP you queried)
Get it done. Test it.
Note, hosts file, you can add multiple IP records to github.com, so when we visit github, we will try whether each IP can be accessed at once. If not, we will go to Internet to do DNS parsing.
It can be configured like this.
140.82.112.4 github.com140.82.113.4 github.com140.82.112.3 github.com140.82.114.4 github.com so far, I believe you have a deeper understanding of "domestic cannot visit github how to solve", might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.