I am currently using Request.ServerVariables ["REMOTE_ADDR"] to get the IP address from the client.
What guarantees do I get when I call this method? Or should I also look in other ServerVariables?
Found some really accurate information about getting the client's IP address here.
Essentially, you should probably also pay attention to Request.ServerVariables("HTTP_X_FORWARDED_FOR") . This helps to identify the actual IP address if the end user passes through the proxy server, while the REMOTE_ADDR attribute will be the proxy server address ... if it is not an anonymous proxy, in this case, you still just get the proxy server address.
Request.ServerVariables("HTTP_X_FORWARDED_FOR")
REMOTE_ADDR