解决 failed to connect to raw.githubusercontent.com port 443: Connection refused

想安装openresty,报如下错误:

 

参考 https://github.com/hawtim/blog/issues/10, 出错是由于DNS污染。

解决方法:

1.  修改host,建议使用 switchhosts 方便 host 管理

2. 复制输入如下地址

199.232.68.133 raw.githubusercontent.com
199.232.68.133 user-images.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com
posted @   r1-12king  阅读(1549)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
点击右上角即可分享
微信分享提示