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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top