V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
68
V2EX  ›  问与答

搭 hexo 个人博客时 Failed to connect to github.com port 443 怎么办?

  •  
  •   68 · Feb 5, 2020 · 1112 views
    This topic created in 2278 days ago, the information mentioned may be changed or developed.

    非程序员,在网上看教程想自己搭一个博客,用的 github+hexo。 检测 github 公钥的时候 port 22 失败换成了 port 443 成功验证公钥。 用 hexo init 命令的时候显示 Failed to connect to github.com port 443 time out,不知道如何解决。 尝试在 hexo 中下载文件到本地可行,但是最后部署到自己的 github 上是同样 failed。 win10 连接梯子。

    4 replies    2020-02-06 06:33:38 +08:00
    DGideas
        1
    DGideas  
       Feb 5, 2020
    确认一下你的网络环境是否“畅通”?
    68
        2
    68  
    OP
       Feb 5, 2020 via Android
    @DGideas 应该是畅通的,搭了梯子 github 访问下载都正常,验证 ssh 也通过。
    DGideas
        3
    DGideas  
       Feb 5, 2020   ❤️ 1
    @68 听起来你在使用 SOCKS 代理而不是全局梯子( VPN ),由于没有更多信息,你所说的“Failed to connect to github.com port 443 time out”问题我还是倾向于网络环境问题。

    如果你需要一个全局梯子排除下是否是网络问题,欢迎通过个人资料页中的方式联系我
    ysc3839
        4
    ysc3839  
       Feb 6, 2020 via Android
    有给 git 配置代理吗?
    https://www.v2ex.com/t/641227#r_8529977
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2634 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 03:41 · PVG 11:41 · LAX 20:41 · JFK 23:41
    ♥ Do have faith in what you're doing.