cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem using a proxy

From: Kaplan Dani <kaplan.dani_at_gmail.com>
Date: Sat, 26 Oct 2013 14:30:25 +0300

I've configured a proxy server on another computer (wingate proxy server)
and my 2nd computer traffic goes through it.

I try to make a curl call using this proxy:

192.168.3.79:8008

by calling:

curl_easy_setopt(curl, CURLOPT_PROXY, proxy.c_str());

(proxy is a wstring containing the address above)

the address is https://www.google.com

yet I keep getting the Curl Error 5 when I try.

the address is resolved (it's on my own network, I'm 192.168.3.63)

and external browser goes through it with no problem...

Dani

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-26