I am working on an application that redirects the user to closest server automatically (there are multiple servers). For that I need to detect client's IP address and server's IP address the client is visiting. I think to get the client's IP address I can use:
HttpContext.Current.Request.UserHostAddress
How do I get the server's IP address that the client is visiting? Is it possible to detect it without using DNS querying ?