- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
- curl: (7) Failed to connect to r
问题
再安装RVM的时候遇到端口无法访问的问题。
解决方法
-
先去ip查询网站查找到对应的ip https://www.ipaddress.com/
raw.githubusercontent.com
将这个复制到ip搜索框就能查询到ip了 -
在host中添加ip
sudo vi /etc/hosts //打开host
添加地址 199.232.96.133 raw.githubusercontent.com
如下图

//如果ip不一致以查询的为准
- 安装
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
网友评论