错误1: Failed to connect to github.com port 443 after 21117 ms: Couldn't connect to server
在clone GitHub的代码时遇到
Unsupported proxy syntax in 'proxyserver:port':
Port number was not a decimal number between 0 and 65535
提示失效的端口,在terrminal运行:
git config --list
运行结果:
结果显示最后两个无效端口,需要进行删除,
git config --global --unset http.proxy
git config --global --unset https.proxy
结果,
错误2: Failed to connect to github.com port 443 after 21117 ms: Couldn't connect to server。
git config --global --unset http.proxy