Hi Robbie,
We use the below code in the action method:-
string test = " UserHostAddress"+ ": " + HttpContext.Request.UserHostAddress;
test = test + " REMOTE_ADDR"+ ": " + HttpContext.Request.ServerVariables["REMOTE_ADDR"];
When we used this code in the test environment and configured the website in the IIS Server without load balancer. Things seems to work as expected.However, in the cloud it doesn't seem to work.
Thanks,
Santhosh