电脑因为升级到 macOS14 Beta,又要降回来,重置后,重新安装各种工具 安装 ohmyzsh, 遇到如下错误
fatal: unable to access 'github.com/ohmyzsh/ohm…': Failed to connect to github.com port 443 after 75003 ms: Couldn't connect to server
最终下面的办法可行,关键在于端口
git config --global http.roxy 127.0.0.1:8001
git config --global https.roxy 127.0.0.1:8001
公司使用的是 飞连 VPN,电脑上查询端口无果后,找到了 飞连 官网 www.volcengine.com/docs/6427/1…
有这么一句话
控制端口(TCP):客户端探活及配置下发的端口,建议填写为 8001,支持修改为其他端口号
尝试 8001,果然可以