登入

如何解決連接gethub的問題:Failed to connect to github.com port 443

作者:neo yang 時間:2024/01/27 讀: 7326
問題最近幾天一直有這個問題: Failed to connect to github.com port 44 […]

問題

最近幾天一直有這個問題:

Failed to connect to github.com port 443

解決方法

設定get的全域代理:

git config --global http.proxy http://127.0.0.1:7890 git config --global https.proxy http://127.0.0.1:7890

這樣就可以了。

附錄

檢視和修改git的配置的命令:

git config --global --edit

清除git代理的命令:

git config --global --unset http.proxy


copyright © www.lyustu.com all rights reserve.
Theme: TheMoon V3.0. Author:neo yang