In local host how to get the client IP to detect the their country name in asp.net mvc with C#. my code is
string ipAddress = Request.ServerVariables["REMOTE_ADDR"];
string ipAddress2 = Request.UserHostAddress;
this gives the ::1 so i need the public ip from user request