REMOTE_ADDR is the IP address of the user visiting the site.
If you are on the same machine as the site, and visit it via
http://localhost/blahblah, then your IP is locahost == 127.0.0.1.
In order to see something different from REMOTE_ADDR, you need to access the
site from a different machine.
--
Ben Strackany
www.developmentnow.com
"Greg Smith" <gj*@umn.edu> wrote in message
news:u4**************@TK2MSFTNGP14.phx.gbl...
Yes.
"Tampa .NET Koder" <Ta***********@discussions.microsoft.com> wrote in
message news:D0**********************************@microsof t.com... Are you running this site locally
http://localhost ??
"Greg Smith" wrote:
I have been using the following to get the client IP address:
Request.ServerVariables["REMOTE_ADDR"]
All of a sudden it has started returning
127.0.0.1 all the time. Does anybody have any idea why this would
happen?
Any help is greatly appreciated.