From: CSharper on
I have a web service (asmx) hosted in 3 boxes. I created a client and
using the default proxy I am able to get to 2 of the boxes but when I
tried to hit 3rd box, i get bad gateway 502 error. When I added one
line of code to the client like the following

proxy.Proxy = new WebProxy(url);

I was able to get to the 3rd box as well. What is the use of this
method and what I need to configure in the server so that I do not
require to do this in client code? I compared all three boxes and I
can not find out what is different.

Any direction would be greatly appriciated.
Thanks,