安装RVM时报错 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

1.打开hosts文件

[code] sudo vim /etc/hosts

2.在hosts文件中修改或者插入下面一行

[code]199.232.28.133 raw.githubusercontent.com

3.接着回到外面一开始访问被拒的地方

然后请求加载:结果和过程如图

posted @ 2020-11-29 11:27  Oops!#  阅读(524)  评论(0编辑  收藏  举报