Re: How can I get the IP address of the host Web Server into a Session variable?
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Fri, 11 Jul 2008 20:21:53 +0100
"John Kotuby" <jkotuby75@xxxxxxxxxxx> wrote in message news:eVYboS44IHA.4272@xxxxxxxxxxxxxxxxxxxxxxx
What I am really looking for is the Public IP Address that is used in the request to get to the Router that then finds the Server behind the firewall.
Hmm - if the box was connected to the Internet, it would be simple enough to fetch its IP address as seen by the outside world by inspecting the HttpResponse returned from something like: http://www.whatismyip.org/
However, as Bruce has explained, because of the NAT and firewall in the equation it's going to be pretty much impossible to determine this in this case...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- Follow-Ups:
- References:
- How can I get the IP address of the host Web Server into a Session variable?
- From: John Kotuby
- Re: How can I get the IP address of the host Web Server into a Session variable?
- From: Mark Rae [MVP]
- Re: How can I get the IP address of the host Web Server into a Session variable?
- From: John Kotuby
- How can I get the IP address of the host Web Server into a Session variable?
- Prev by Date: Re: Problem getting web application project support with VS 2005
- Next by Date: Re: calculate weekdays
- Previous by thread: Re: How can I get the IP address of the host Web Server into a Ses
- Next by thread: Re: How can I get the IP address of the host Web Server into a Session variable?
- Index(es):
Relevant Pages
|