1) Did you check your internet settings to check whether the proxy settings are enabled?
2) Did you check environment variables for HTTP_PROXY, HTTPS_PROXY? If those values are set, remove them and problem will be solved.
HTTP_PROXY
HTTPS_PROXY