首页 > 其他 > 详细

安装homebrew报错

时间:2020-03-07 16:25:03      阅读:197      评论:0      收藏:0      [点我收藏+]

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

技术分享图片

 

 用通过访问某个网址,发现网址访问不了(网络是正常的),后来查到可能是被墙的问题

 

查询真实IP

通过IPAddress.com首页,输入raw.githubusercontent.com查询到真实IP地址

技术分享图片

 

 

技术分享图片

 

 

 

 

修改hosts

sudo vi /etc/hosts

技术分享图片

添加 199.232.*.* raw.githubusercontent.com

 然后再次访问可正常访问进行下载。

 

  参考: https://www.ioiox.com/archives/62.html

 

安装homebrew报错

原文:https://www.cnblogs.com/may18/p/12434363.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!