Groups | Blog | Home
all groups > inetserver asp components > june 2003 >

inetserver asp components : ServerVariables("Remote_Addr") returns local address


Tope
6/30/2003 10:23:40 AM
I hope one of you guys can find a solution to my problem.
We are trying to capture the IP addresses of outside users
accessing our website. ServerVariables("Remote_Addr")
isn't working. Instead it returns the internal address of
our server. We have an ISA server and firewalls. I'm not
sure if that is the problem. Thanks in advance for your
Tope
6/30/2003 10:58:54 AM
How would I get the firewall to send the origin IP?
[quoted text, click to view]
Aaron Bertrand - MVP
6/30/2003 1:45:10 PM
Yep, if the user goes through a firewall / router to get to your server, the
"remote" address should be that of the firewall / router. You either need
your router to pass along the origin IP in the header, or collect that
information directly from the browser somehow (e.g. a client-side signed
applet or ActiveX control).




[quoted text, click to view]

Aaron Bertrand - MVP
6/30/2003 2:30:58 PM
[quoted text, click to view]

Your firewall would have to have that ability; see the firewall vendor. Not
an ASP issue.

Tammy B.
7/21/2003 3:07:03 AM
i think you want remote_HOST



[quoted text, click to view]

AddThis Social Bookmark Button