I had to change my system proxy settings while connecting to a public network.I reset the system proxy settings,but git clone is unable to connect to any repository as it's trying to connect through 192.168.128.1 port 8080,the earlier proxy setting which I had applied.I tried every possible method to change the proxy settings of both git through Terminal and the System Proxy Settings,but nothing seems to work.It would be great if anyone could suggest methods to correct this.I am on a system running on Ubuntu 14.04 with no firewall and no proxy server.
Asked
Active
Viewed 2,267 times
0
-
For the helpful folks,who downvoted my question, thanks a lot. The problem was solved by resetting the environment variable for proxy. – Aneek Roy Nov 02 '16 at 19:38
-
Note: your second picture is not the one of System Proxy setting... and shows your email. I will delete this comment once you fix the picture. – VonC Nov 03 '16 at 00:35
-
Thank a lot I have edited the picture. – Aneek Roy Nov 20 '16 at 15:09
1 Answers
0
As you have seen, git config settings are not the only source of proxy configuration.
I prefer setting environment variable myself, and resetting them did solve the issue.
unset http_proxy
unset https_proxy
unset no_proxy
Don't forget you can set proxy for certain repos only:
See "Only use a proxy for certain git urls/domains?".