473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Remote_addr will return my web server ip address

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!!
Jul 22 '05 #1
2 5223
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"
Jul 22 '05 #2
Fix your clock.

Ray at work

"xarrisx" <ha***@f2d.gr> wrote in message
news:OE**************@TK2MSFTNGP10.phx.gbl...
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!!

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pat | last post by:
Hi, I am having a small problem with a script that has to be requested via https. When I execute this normally I get my IP address printed on the screen: <?php echo getenv('REMOTE_ADDR');
1
by: Jawahar Rajan | last post by:
All, I am trying to log the IP address of visitors to my site using ASP as follows <% Dim strIPAdd Dim srtHostName srtIPAdd = ServerVariables("REMOTE_ADDR") strHostName =...
7
by: Jason | last post by:
Hi, The javascript in my page is not working, itstead of alerting me the ip address, it alerts me with string "<!--#echo var="REMOTE_ADDR"-->". var ip = '<!--#echo var="REMOTE_ADDR"-->';...
6
by: aabrahao | last post by:
Hi, In IIS 6, windows 2003 with php 4.3.11, the code REMOTE_ADDR does not show the IP, but the same page in apache2triad shows the IP. I tried <? $ip = getenv("REMOTE_ADDR"); print $ip; ?>...
3
by: hn | last post by:
I would like to get the visitor's ip address. Which one is the appropriate one to use: Request.ServerVariables("REMOTE_ADDR") or Request.UserHostAddress? Thanks in advance.
4
by: ojorus | last post by:
Hi. I have a problem when I use the $_SERVER. I'm testing a script, and the strange thing is that remote_addr returns an ip-address only sometimes, and not always. Why can that be? Are there any...
9
by: Markus | last post by:
Hi In cases where I need to store the session id and/or the remote host in a database I used to choose tinytext fields so far. Anyway the usual values for session ids are of 32 characters...
1
by: danknauf | last post by:
I have a webserver which is behaving strangely. The server is a fresh copy of Windows 2003 running IIS with default options + Active Server Pages installed. The server is connected to a Linksys...
2
by: Henry Stock | last post by:
I don't seem to understand how to use the value: Request.ServerVariables("remote_addr") I am trying to pass the ip address of a sending web client in the body of an email message. When I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.