I have an already configured git repo and I need to use proxy server to access internet.
When I send the command git pull without any git configured proxy (http(s).proxy) I get the following message:
fatal: unable to access "https://..." Failed to connect to ... port 443: Connection refused
I've tried with:
git config --global http.proxy host:port
git config --global https.proxy host:port
and I get the following error:
fatal: unable to access "https://..." Received HTTP code 0 from proxy after CONNECT
Then I tried with:
git config --global http.proxy http://host:port
git config --global https.proxy http://host:port
or
git config --global http.proxy https://host:port
git config --global https.proxy https://host:port
but I get the same error.
Could you help me?