mac安装brew错误解决:curl: (7) Failed to connect to raw.githubusercontent.com port 443:Connection refused
2020-06-06 06:35
501 查看
mac 安装 brew 出现错误:
在网上找到终端下载代码是这样的:*ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)” *
但是出现错误:
curl: (7) Failed to connect to raw.githubusercontent.com port 443:Connection refused
用网站搜索网址显示无法加载,应该是外网没有办法查看
于是搜索另外的办法 :在知乎上找到这样的一个网址:已经替换为国内的网址可以正常安全访问下载。
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
按照指示下载运行就好了
选择 2 失败了一次重新选择 1 成功
贴一下原知乎的网址
https://zhuanlan.zhihu.com/p/111014448
我自己安装成功的截图,和知乎里面的有点不一样
成功啦!
相关文章推荐
- mac安装brew 遇到 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- Mac 安装brew时遇到curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused 解决方法
- mac安装Homebrew报错curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- macOS系统curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused问题解决
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- mac安装homebrew遇到的问题--Homebrew安装报错curl: (7) Failed to connect to raw.githubusercontent.com port 443
- 解决!MAC 安装homebrew出错:Failed to connect to raw.githubusercontent.com port 443问题)
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation timed out
- 关于ruby安装git(或别网站)的安装包的443port错误(用homebrew做事例)Failed to connect to raw.github.com port 443:
- rl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接
- MAC - 使用 brew 安装东西时出现 curl: (7) Failed connect to downloads.sf.net:443; Operation timed out 的解决办法
- Git的错误error: Failed connect to github.com:443;解决办法
- Git的错误error: Failed connect to github.com:443;解决办法
- mac 配置 ssh 到git (Could not resolve hostname github.com, Failed to connect to github.com port 443 Operation timed out)
- 解决github unable to access 'https://github.com/...: Failed to connect to github.com port 443
- SSH连接GitHub出现 ssh: connect to host github.com port 22: Connection refused解决方法
- 解决ssh-connect-to-host-github-com-port-22-connection-timed-out
- github连接报"ssh: connect to host github.com port 22: Connection timed out"错误
- Github 错误合集:Failed connect to github.com:8080 || Failed connect to github.com:443; No error