- [MacOS安装homebrew报错:curl: (7) Fai
- Homebrew安装报错curl: (7) Failed to
- 解决brew安装curl: Failed to connect
- 安装homebrew报错 curl: (7) Failed to
- Mac安装node.js
- 报错curl: (7) Failed to connect to
- 安装homeBrew / nvm 报错 curl: (7) Fa
- 安装homebrew报错curl: (7) Failed to
- Selenium 之 Mac安装Homebrew报错curl:
- curl: (35) LibreSSL SSL_connect:
问题:
在安装macOS上面安装brew的时候一直报 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
终于在网上找到大神的解决办法
解决:
使用sudo vim /etc/hosts
命令编辑hosts文件,添加以下内容并保存
199.232.68.133 raw.githubusercontent.com
再次输入官网上面安装brew那一条命令居然发现能够下载了。
不过下载速度有点慢,10k 20k的速度,大约要下载500M的内容。
网友评论