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
打开cmd
,ping
一下github.com
,若不通,可以试试能否ping
通baidu.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