当前位置:   article > 正文

Git--06--国内访问Github_github国内

github国内

提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档


国内访问Github

1.IP地址查询工具

https://ipaddress.com/website/fastly.net

或者 https://www.ipaddress.com/

2.查询 github.com 与 github.global.ssl.fastly.net

github.com

github.global.ssl.fastly.net

在这里插入图片描述

在这里插入图片描述

3.两个IP写入 hosts文件中

  • 将上面查询到的两个IP写入到C:\Windows\System32\drivers\etc 下的hosts文件中:
# Github
	
140.82.112.4	   github.com
199.232.69.194    github.global.ssl.fastly.net


  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

在这里插入图片描述

4. 刷新系统DNS缓存

Windows 打开系统命令行 cmd(管理员身份)或powershell

运行 ipconfig /flushdns

在这里插入图片描述

5.访问 https://github.com/

https://github.com/

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/414721
推荐阅读
相关标签
  

闽ICP备14008679号