Remote_addr will return my web server ip address

Discussion in 'ASP General' started by Bob Barrows [MVP], Dec 1, 2004.

  1. xarrisx wrote:
    > I have a web server with a firewall.
    > The problem is that when i use request.servervariables("remote_addr")
    > the ip i get is my server's ip.
    > Is there any other way to retrieve my visitor's ip?
    >
    > Looks like the firewall cought the visitor's request and then
    > request's this page from the web server-and send it back to the
    > visitor.(but still i am not sure if this is what happens)
    >
    > If i have to reconfigure my firewall can you give me some info on how
    > to do this and if this is secure!!
    >


    I found this article by typing firewall and remote_addr into the search box
    at www.aspfaq.com:

    http://www.aspfaq.com/show.asp?id=2012

    Bob Barrows
    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"
    Bob Barrows [MVP], Dec 1, 2004
    #1
    1. Advertising

  2. Fix your clock.

    Ray at work

    "xarrisx" <> wrote in message
    news:...
    > I have a web server with a firewall.
    > The problem is that when i use request.servervariables("remote_addr")
    > the ip i get is my server's ip.
    > Is there any other way to retrieve my visitor's ip?
    >
    > Looks like the firewall cought the visitor's request and then request's
    > this page from the web server-and send it back to the visitor.(but still i
    > am not sure if this is what happens)
    >
    > If i have to reconfigure my firewall can you give me some info on how to

    do
    > this and if this is secure!!
    >
    > Is this the right newsgroup for this question?
    >
    > Thanks in advance!!
    >
    >
    Ray Costanzo [MVP], Dec 1, 2004
    #2
    1. Advertising

  3. Bob Barrows [MVP]

    xarrisx Guest

    I have a web server with a firewall.
    The problem is that when i use request.servervariables("remote_addr")
    the ip i get is my server's ip.
    Is there any other way to retrieve my visitor's ip?

    Looks like the firewall cought the visitor's request and then request's
    this page from the web server-and send it back to the visitor.(but still i
    am not sure if this is what happens)

    If i have to reconfigure my firewall can you give me some info on how to do
    this and if this is secure!!

    Is this the right newsgroup for this question?

    Thanks in advance!!
    xarrisx, Dec 1, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Frank Moyles
    Replies:
    3
    Views:
    962
    Mark Rae [MVP]
    Dec 28, 2007
  2. Jawahar Rajan
    Replies:
    1
    Views:
    282
    Chris Barber
    Jul 4, 2003
  3. Sachin Singhal

    REMOTE_ADDR gives a wrong IP address

    Sachin Singhal, Nov 11, 2003, in forum: ASP General
    Replies:
    5
    Views:
    1,026
    Rob Meade
    Nov 11, 2003
  4. Aaron [SQL Server MVP]

    Remote_addr will return my web server ip address

    Aaron [SQL Server MVP], Dec 1, 2004, in forum: ASP General
    Replies:
    0
    Views:
    125
    Aaron [SQL Server MVP]
    Dec 1, 2004
  5. Replies:
    1
    Views:
    284
    Anthony Jones
    Feb 13, 2007
Loading...

Share This Page