I have wrote this to get client's ip address but it just gets this ::1 instead of 172.16.0.129. I want to get Ipv4 version of the ip. How do I do this?
return HttpContext.Current.Request.Params["HTTP_CLIENT_IP"] ?? HttpContext.Current.Request.UserHostAddress;