[Solved] Git fatal: unable to access ‘xxx.git/’: Failed to connect to github.com port 443 after ***ms: Timed out

Change agent

See the port of your agent software

such as

set up

git config --global http.proxy http://127.0.0.1:1087

that’s enough

If you want to cancel

Cancel global proxy:

git config --global --unset http.proxy
 
git config --global --unset https.proxy

Commonly used

Git config — global http.proxy # view git’s HTTP proxy configuration

Git config — global https.proxy # view git’s HTTPS proxy configuration

Git config — Global – L # view all git configurations

Similar Posts: