美文网首页
[CocoaPods] - Failed to connect

[CocoaPods] - Failed to connect

作者: AlwaysLuckyMa | 来源:发表于2021-01-25 18:10 被阅读0次

    先按照这个来!https://www.jianshu.com/p/f43b5964f582报错再按照下面的来!

    Failed to connect to raw.githubusercontent.com port 443: Connection refused
    no such file or directory:xxx/xxxx/xxx.bashrc
    解决办法:通过修改hosts解决此问题。

    查询真实IP

    https://www.ipaddress.com/查询raw.githubusercontent.com的真实IP。

    真实IP

    修改hosts

    sudo vim /etc/hosts
    

    添加如下内容:

    199.232.96.133 raw.githubusercontent.com
    

    结束按:esc
    输入::wq

    相关文章

      网友评论

          本文标题:[CocoaPods] - Failed to connect

          本文链接:https://www.haomeiwen.com/subject/aajizktx.html