Using the bellow code .
protected string GetUserIP() { string strUserIP = string.Empty; if (HttpContext.Current.Request.ServerVariables[\"HTTP_X_FORW
It is of localhost ::1 if you use on web server you will get the correct one.
localhost
::1
Though it will depend on the configuration of the network from where the user is accessing your application.
There can be firewall which doesn't expose the actual IP of the client system.
firewall