wodHTTP & roundrobin/multiple-IPs (General questions)
Via roundrobin www.mydomain.com can resolve to 1.2.3.4 and to 1.2.3.5.
If I check via the wodhttp component I check www.mydomain.com, due to the roundrobin (or to the multiple IPs) I don't know which exact server will be used.
The webservers won't serve the page correctly using http://1.2.3.4 and http://1.2.3.5
Is is possible using the wodHTTP component to force to what server it should go in order to fetch the page?
dirk
Re: wodHTTP & roundrobin/multiple-IPs
Hi Dirk,
Did you try to connect to that server first using Connect Method and then send request?
You can find here example how to connect to serve using Connect Method:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLX-Connect.html
Regards,
Drazen
Re: wodHTTP & roundrobin/multiple-IPs
Hi Drazen,
in the example the HOSTNAME is set to a URL.
In my case the URL is the same for both system, but the hostname resolves to 2 different IPs.
Hi Dirk,
Did you try to connect to that server first using Connect Method and then send request?You can find here example how to connect to serve using Connect Method:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLX-Connect.html
Regards,
Drazen
Re: wodHTTP & roundrobin/multiple-IPs
Dirk,
Is there any chance you can show us your code snippet?
Drazen
Re: wodHTTP & roundrobin/multiple-IPs
My question was based on a customers question. I didn't test this with my code.
The remark I made about the code was based on the example link you send me.
dirk
Dirk,
Is there any chance you can show us your code snippet?
Drazen
Re: wodHTTP & roundrobin/multiple-IPs
Dirk,
I would suggest you to try this if you didn't already [code]http1.Connect( your_ip )[/code
Drazen
Re: wodHTTP & roundrobin/multiple-IPs
So it's NOT like in the example that you linked but usign the IP (example that you linked uses the URL)
Dirk,
I would suggest you to try this if you didn't already [code]http1.Connect( your_ip )[/code
Drazen
[/quote]
Re: wodHTTP & roundrobin/multiple-IPs
Dirk,
Yes, you can use there also IP.
Drazen