随笔 - 253,  文章 - 0,  评论 - 8,  阅读 - 24万

1. 修改本地hosts文件

用编辑工具打开
windows系统的hosts文件的位置如下:C:\Windows\System32\drivers\etc\hosts
mac/linux系统的hosts文件的位置如下:/etc/hosts

2. 增加http://github.global.ssl.fastly.net和http://github.com的映射

获取Github相关网站的ip
访问https://www.ipaddress.com,
分别输入github.global.ssl.fastly.net和github.com,查询ip地址
下面是我的配置

192.30.253.113 Build software better, together
151.101.185.194 github.global.ssl.fastly.net

 

 

3.刷新dns
使用win+R输入cmd进入控制台,输入指令 ipconfig /flushdns 刷新DNS

 

posted on   京鸿一瞥  阅读(256)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
历史上的今天:
2021-02-27 vue3 生命周期的改变
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

展开
点击右上角即可分享
微信分享提示