网站制作学习网Linux→正文:: Failed to connect to github.com port 443: Operation timed out
字体:

: Failed to connect to github.com port 443: Operation timed out

Linux 2021/6/19 10:03:21  点击:不统计

http://%77w%77%2E%66%6F%72%61%73%70%2E%63n网站制作学习
 Mac 命令行安装 GitHub无法访问、443 Operation timed out的解决办法
转自 https://juejin.cn/post/6844904193170341896
侵删

1. 打开https://github.com.ipaddress.com/  记录IP1:
2.打开https://fastly.net.ipaddress.com/github.global.ssl.fastly.net#ipinfo 记录IP2:
3.打开https://github.com.ipaddress.com/assets-cdn.github.com 如下图 记录ip 4个:
然后再本地 Host 设置


140.82.113.4 (IP1)github.com
199.232.69.194 (IP2)github.global.ssl.fastly.net
185.199.108.153 (IP4个)assets-cdn.github.com
185.199.109.153 (IP4个)assets-cdn.github.com
185.199.110.153 (IP4个)assets-cdn.github.com
185.199.111.153 (IP4个)assets-cdn.github.com
然后运行命令运行一下就可以了。


http://%77%77%77%2E%66%6F%72%61%73%70%2E%63%6E

·上一篇:SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 >>    ·下一篇:MAC Zsh 代码高亮提示 >>
推荐文章
最新文章