菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
346
0

【转】Failed to connect to raw.githubusercontent.com port 443: Connection refused -- 安装Xcode插件管理工具Alcatraz失败

原创
05/13 14:22
阅读数 3713

原文网址:https://www.cnblogs.com/Dylansuns/p/12309847.html

Failed to connect to raw.githubusercontent.com port 443: Connection refused

 

问题:macOS安装Homebrew时总是报错(Failed to connect to raw.githubusercontent.com port 443: Connection refused)

 

原因:由于某些你懂的因素,导致GitHub的raw.githubusercontent.com域名解析被污染了。

 

解决办法:通过修改hosts解决此问题。

 

查询真实IP

https://www.ipaddress.com/查询raw.githubusercontent.com的真实IP。

修改hosts

sudo vim /etc/hosts

添加如下内容:

199.232.28.133 raw.githubusercontent.com

参考如下内容:

https://bbs.huaweicloud.com/blogs/143682

问题:macOS安装Homebrew时总是报错(Failed to connect to raw.githubusercontent.com port 443: Connection refused)

 

原因:由于某些你懂的因素,导致GitHub的raw.githubusercontent.com域名解析被污染了。

 

解决办法:通过修改hosts解决此问题。

 

查询真实IP

https://www.ipaddress.com/查询raw.githubusercontent.com的真实IP。

修改hosts

sudo vim /etc/hosts

添加如下内容:

199.232.28.133 raw.githubusercontent.com

参考如下内容:

https://bbs.huaweicloud.com/blogs/143682

发表评论

0/200
346 点赞
0 评论
收藏