Using proxies with wodHttp. (wodWebServer / wodWebServer.NET)
I can't get the proxy feature to work, does anyone have a WORKING example on how to make wod connect using a proxy?
Re: Using proxies with wodHttp.
Hi,
All you need to do in order to use Proxy server is set Proxy related properties, i.e:
[code]
http1.ProxyHostname = your_proxy_address
http1.ProxyType = ProxyWEBStandard
http1.ProxyAuthentication = AuthBasic ' set only if required
http1.ProxyLogin = your_login 'don't set if none
http1.ProxyPassword = your_password ' don't set if none
http1.ProxyPort = 8080 ' or whichever is used by the proxy server you use
http1.Get Url_you_wish_to_get
[/code]
Can you try that?
Regards,
Damba
Re: Using proxies with wodHttp.
Hi,
All you need to do in order to use Proxy server is set Proxy related properties, i.e:
[code]
http1.ProxyHostname = your_proxy_address
http1.ProxyType = ProxyWEBStandard
http1.ProxyAuthentication = AuthBasic ' set only if required
http1.ProxyLogin = your_login 'don't set if none
http1.ProxyPassword = your_password ' don't set if none
http1.ProxyPort = 8080 ' or whichever is used by the proxy server you usehttp1.Get Url_you_wish_to_get
[/code]Can you try that?
Regards,
Damba
Tried it but it still doesn't work. When I connect to IPChicken I still see my default IP.
Re: Using proxies with wodHttp.
Hi,
Masking/hiding IP address isn't something that component (or client) does. It's actually proxy's task to do that part by removing the IP address header from the request.
If I'm correct, you would receive the same thing if you use any other client and specify that proxy.
If you wish to hide your IP, you will need to find Anonymous proxy (not Transparent one).
Regards,
Damba