win10无法连接github,idm无法下载github代码项目,github443问题解决

无法用idm下载github项目,443问题

看看能否通过git来下载;
如果不能,在git bash here,执行下面代码
git config --global url."https://ghproxy.com/https://github.com".insteadOf "https://github.com"
然后再次 git clone + 项目地址 下载试试看

windows10无法连接到github

打开cmdping一下github.com,若不通,可以试试能否pingbaidu.com
解决ping不通github.com步骤如下:
1、先获取github的ip
https://github.com.ipaddress.com/
https://fastly.net.ipaddress.com/github.global.ssl.fastly.net#ipinfo
CDN 服务器
https://github.com.ipaddress.com/assets-cdn.github.com
2、在上面地址中获取ip,然后在host文件里面更改保存
host文件一般在C:\Windows\System32\drivers\etc文件夹下
3、刷新配置,这一步好像挺重要的

# 打开cmd 输入 ipconfig /flushdns 刷新网络
ipconfig /flushdns
posted @ 2022-08-22 10:49  cqcqcqy  阅读(1938)  评论(0)    收藏  举报