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

 

问题: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。

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




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

修改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。

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




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

修改hosts

sudo vim /etc/hosts

添加如下内容:

199.232.28.133 raw.githubusercontent.com

参考如下内容:

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

相关文章:

  • 2021-07-20
  • 2021-07-22
  • 2021-05-07
  • 2021-12-30
  • 2021-11-24
  • 2022-01-20
猜你喜欢
  • 2021-05-29
  • 2021-11-17
  • 2021-05-25
  • 2021-08-13
相关资源
相似解决方案