Search code examples
httpwebrequestload-balancingweb-farm

how to send http request c#


we have web farm architecture. Load balancer is maintaining all the requests. I want to send a http request to the server of my choice. But i am unable to do so because of load balancer. I am doing this in a windows application. Could you please suggest ways to bypass load balancer?

Thanks AR


Solution

  • Post your data to the IP of the server and not the loadbalencer. That means that I expect that the server itself is reachable from the web and not only via the loadbalancer.