Request.UserHostAddress issue with return result "::1"

Viewed 39678

I am trying to get client ip address using

    HttpContext.Request.UserHostAddress;

but it returns ::1.

How to solve this?

4 Answers
Related