Re: Getting Ip address of the actual client
- From: "Daniel Crichton" <msnews@xxxxxxxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 11:47:44 +0100
Hariprasad wrote on Thu, 13 Jul 2006 03:08:25 -0700:
How can I get IP address of the requested client?
When I am using request.servervariables('remote_addr'), I am getting
public IP, but not the actual client IP.
My application is hosted on public IP 202.63.107.242, and through IP
forwarding it was being redirected to 192.168.100.147. How to get the
requested client's private IP address, if the requestor is within the
organisation (there is a firewall)
Look for the following:
HTTP_X_FORWARDED_FOR
HTTP_CLIENT
These will be either a single IP, or a list of IPs separated by commas, if
they are available (many proxies don't include these headers).
Dan
.
- Prev by Date: Re: Getting Ip address of the actual client
- Next by Date: Re: Supressing Public ASP Error Codes
- Previous by thread: Re: Getting Ip address of the actual client
- Index(es):