I am trying to get client ip address using
HttpContext.Request.UserHostAddress;
but it returns ::1.
::1
How to solve
::1 is for localhost, Maybe this might be useful.
localhost