访问GitHub的host配置

这篇具有很好参考价值的文章主要介绍了访问GitHub的host配置。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

添加位置:C:\Windows\System32\drivers\etc
添加完以下host,就能稳定访问github

# Github Hosts
# domain: github.com
20.205.243.166 github.com
20.205.243.165 nodeload.github.com
20.205.243.168 api.github.com
20.205.243.165 codeload.github.com
185.199.111.133 raw.github.com
185.199.111.153 training.github.com
185.199.111.153 assets-cdn.github.com
185.199.110.153 documentcloud.github.com
140.82.114.17 help.github.com

# domain: githubstatus.com
185.199.111.153 githubstatus.com

# domain: githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.111.154 pkg-containers.githubusercontent.com
185.199.110.133 cloud.githubusercontent.com
185.199.110.133 gist.githubusercontent.com
185.199.110.133 marketplace-screenshots.githubusercontent.com
185.199.110.133 repository-images.githubusercontent.com
185.199.110.133 user-images.githubusercontent.com
185.199.110.133 desktop.githubusercontent.com
185.199.110.133 avatars.githubusercontent.com
185.199.110.133 avatars0.githubusercontent.com
185.199.110.133 avatars1.githubusercontent.com
185.199.110.133 avatars2.githubusercontent.com
185.199.110.133 avatars3.githubusercontent.com
185.199.110.133 avatars4.githubusercontent.com
185.199.110.133 avatars5.githubusercontent.com
185.199.110.133 avatars6.githubusercontent.com
185.199.110.133 avatars7.githubusercontent.com
185.199.110.133 avatars8.githubusercontent.com
199.59.148.202 github.global.ssl.fastly.net
# End of the section

注意:随着时间推移,以上ip可能失效,如果失效,可在这里查询:“github.com”A记录/cname检测结果--Dns查询|dns查询--站长工具文章来源地址https://www.toymoban.com/news/detail-535715.html

到了这里,关于访问GitHub的host配置的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Github 访问提速 通过修改HOSTS文件进行加速

    手动把cdn和ip地址绑定。 第一步: 获取 github 的 global.ssl.fastly  地址访问: http://github.global.ssl.fastly.net.ipaddress.com/#ipinfo 获取cdn和ip域名: 得到: 199.232.69.194 https://github.global.ssl.fastly.net 第二步:获取github.com地址 访问: https://github.com.ipaddress.com/#ipinfo  获取cdn和ip: 得到:

    2024年02月10日
    浏览(35)
  • Linux无法访问github解决方案【修改/etc/hosts文件,加上GitHub网站的IP地址】

    ChatGPT神中神! 省流:修改 /etc/hosts 文件,加上GitHub网站的IP地址。 \\\"Failed connect to github.com:443; 拒绝连接\\\" 错误通常表示你的系统无法建立与GitHub的安全连接。这可能是由于网络问题、防火墙设置或代理配置等原因引起的。以下是一些可能的解决方法: 检查网络连接:确保你的

    2024年02月13日
    浏览(37)
  • github网站打不开,hosts文件配置

    首先获取github官网的ip地址 , 打开cmd,输入 ping github.com 配置: 刷新DNS缓存: WIN+R打开cmd,输入如下指令刷新DNS缓存

    2024年02月07日
    浏览(59)
  • 解锁新技能《Git本地访问GitHub出现WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!警告》

    今天本地git访问github仓库的时候出现如下异常: 问题原因是SSH会把每个曾经访问过的Git服务器的公钥记录在/Users/xx/.ssh/known_hosts文件中,当下次访问时会核对公钥,如果和上次的记录不同,SSH就会发出警告。 解决方法:直接删除/Users/xx/.ssh/known_hosts文件。 GitHub地址:https://

    2024年02月14日
    浏览(39)
  • 【git】配置代理访问github

    参考大神的方法 没有解决。 GitHub访问加速 简直完美! C:Userszhangbin.ssh 报错 通过clash 一定要allow lan 一定有system proxy zhangbin@DESKTOP-1723CM1 MINGW64 /g/CDN/NET-EQ-DEV zhangbin@DESKTOP-1723CM1 MINGW64 /g/CDN/NET-EQ-DEV $ git clone https://github.com/TaoistKing/AudioPlc.git Cloning into ‘AudioPlc’… remote: Enumerati

    2024年01月25日
    浏览(33)
  • fatal: unable to access ‘https://github.com/xx‘: Could not resolve host: github.com解决方案——配置DNS服务器

    报错分析 在Linux(Ubuntu)服务器上 clone github上的项目时,会出现该报错: fatal: unable to access \\\'https://github.com/xxxx/xxxx/\\\': Could not resolve host: github.com 此时ping也ping不通。 出现该问题是因为无法解析域名。 原因可能为:1. 该域名出现问题 2. 服务器没有网络 3. 服务器没有配置DNS 前

    2024年02月08日
    浏览(39)
  • [github配置] 远程访问仓库以及问题解决

    作者:20岁爱吃必胜客(坤制作人),近十年开发经验, 跨域学习者,目前于 新西兰奥克兰大学攻读IT硕士学位 。 荣誉: 阿里云博客专家认证 、腾讯开发者社区优质创作者,在CTF省赛校赛多次取得好成绩。 跨领域学习 ,喜欢摄影、弹吉他、咏春拳。 文章深入浅出、语言风

    2024年02月05日
    浏览(51)
  • Github,gitee配置同一个ssh key步骤+ssh: connect to host github.com port 22: Connection timed out解决方案(纯小白教程)

    不要看内容太长,因为插了好多图片,只是为了每个步骤都清清楚楚 😎 每当新解决一个问题的时候就尽量把他记录下来,因为过不了多久就会忘记,回过来看自己的文章记录是常常有的事情 今天把Github配置ssh key的起因是因为在github上下载别人的项目,之前就只是会用 Dow

    2024年01月25日
    浏览(39)
  • github hosts 最新地址

    https://gitlab.com/ineo6/hosts/-/raw/master/hosts https://raw.githubusercontent.com/JohyC/Hosts/main/hosts.txt https://hosts.gitcdn.top/hosts.txt 因为系统和浏览器都会对DNS进行缓存,有时候不是立即看到效果,正确的操作每次设置完先清空缓存。 Chrome缓存 地址栏访问chrome://net-internals/#dns,点击Clear host cac

    2024年02月11日
    浏览(34)
  • GitHub登不上:修改hosts文件来解决(GitHub520,window)

    参考链接:GitHub520: 本项目无需安装任何程序,通过修改本地 hosts 文件,试图解决: GitHub 访问速度慢的问题 GitHub 项目中的图片显示不出的问题 花 5 分钟时间,让你\\\"爱\\\"上 GitHub。 (gitee.com) GitHub网站一直登不上去,后来参考上述网站的链接解决。 现在梳理上述步骤: 1.复制下

    2024年03月14日
    浏览(50)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包