I have http_proxy settings in my /etc/environment on my Ubuntu machine. I have defined CURLOPT_NOPROXY as 10177 and then do
$curl = curl_init(\'http://127.0
It happened with me so i set the proxy to empty string and it worked
curl_setopt($ch, CURLOPT_PROXY, '');