Using proxies with wodHttp. - WeOnlyDo Discussion board

Using proxies with wodHttp. (wodWebServer / wodWebServer.NET)

by TisTheDanza, Saturday, October 06, 2012, 21:37 (4432 days ago)

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.

by wodDamir, Saturday, October 06, 2012, 21:56 (4432 days ago) @ TisTheDanza

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.

by TisTheDanza, Sunday, October 07, 2012, 07:38 (4431 days ago) @ wodDamir

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

Tried it but it still doesn't work. When I connect to IPChicken I still see my default IP.

Re: Using proxies with wodHttp.

by wodDamir, Sunday, October 07, 2012, 12:36 (4431 days ago) @ TisTheDanza

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