【问题标题】:Cannot install Home-brew, Failed to connect to 50.63.202.24 port 443无法安装 Home-brew,无法连接到 50.63.202.24 端口 443
【发布时间】:2019-01-09 18:52:13
【问题描述】:

我尝试更新 pod 失败,因为 Cocoapod 无法连接到 50.63.202.24 端口 443。

致命:无法访问“https://github.com/Homebrew/brew/”:无法连接到 50.63.202.24 端口 443:操作超时 期间失败:git fetch origin master:refs/remotes/origin/master --tags --force

我已经看过很多关于这个问题的帖子,不幸的是,解决方案通常需要访问 git master 也失败了。我没有使用任何代理,并且我的 Mac 上的防火墙已关闭。直到几个月前,Pod 更新对我来说都没有问题。

根据我在网上看到的建议,我为解决此问题所做的所有尝试通常都需要类似的访问尝试,但如上所述失败。据我所知,我的 Mac 上没有任何东西被阻止,所以我不知道故障在哪里。任何人都可以建议检查一下吗?正如我所指出的,我过去可以毫无问题地进行 Github pod 更新,但现在没有任何效果。

【问题讨论】:

    标签: ruby xcode homebrew


    【解决方案1】:

    当我删除 Homebrew 目录并再次安装 brew 时,此问题已解决:

    1. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
    2. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    3. brew update
    4. brew doctor

    【讨论】:

      猜你喜欢
      • 2020-12-24
      • 2015-07-06
      • 2011-12-03
      • 2016-09-05
      • 2016-01-31
      • 2014-09-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多