By using this i solved my problem
This code working on live not in locally
So after apply this code upload into server.
private string GetPublicIpAddress()
{
String aip = (HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"] == null) ? HttpContext.Current.Request.UserHostAddress : HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
return aip;
}