Visitor IP Address

  • Thread starter Thread starter PP
  • Start date Start date
P

PP

Hello Guys,
How to get the visitor's actual IP address.
I have tried all the possible solution like
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"],
UserHostAddress, Remote_ADDR etc etc. But all are returning the same IP that
is I think proxy ip.
If we are behind the firewall/proxy then is there any way to get the local
IP of the system like 100.100.100.27.

Please confirm.
Pankaj
 
your proxy server should be able to pass along the ipaddress (usually in
a custom header). see you network people.

if the the user is behind a proxy, you will only get their proxy address.

-- bruce (sqlwork.com)
 
Back
Top