I am using this code but this is not show Visitor IP Address
string ipaddress;
ipaddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (ipaddress == "" || ipaddress == null)
{
ipaddress = Request.ServerVariables["REMOTE_ADDR"];
}
Response.Write(ipaddress);
Please help me





Midhun TpRank #388 · 6.5K reputationPosted Aug 6, 2016, 12:51 AM EDT
Sonu Pandey14 reputationPosted Aug 19, 2016, 10:41 PM EDT
Vishal JadavRank #1,692 · 901 reputationPosted Aug 20, 2016, 2:20 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Aug 21, 2016, 12:29 AM EDT
Ajay MalikRank #752 · 3.1K reputationPosted Aug 21, 2016, 8:05 PM EDT