Ip_Client = Trim(Request.ServerVariables("remote_addr")) ??

V

Vilmar

Hi All!
What shoud I do if:
Ip_Client = Trim(Request.ServerVariables("remote_addr")) SOMETIMES brings
me Local IP Address
instead of Remote IP Address ??

Some times brings me 192.168.0.1, which is the address of DEFAULT GATEWAY.
Take a look at the results:

Cli. Func. Nome Sistema Arquivo Data Tam. Ver. IP
595 1 Rose Folha de Pagamento Nacional instala01.exe 26/04/2004
11:52:37 4903151 2.268 200.232.228.81
595 1 Rose Folha de Pagamento Nacional instala01.exe 26/04/2004
11:52:55 4903151 2.268 200.232.228.81
595 1 Rose Folha de Pagamento Nacional instala02.exe 26/04/2004
13:01:52 1294940 2.268 200.232.229.220
595 1 Rose Folha de Pagamento Nacional disco1.cab 26/04/2004 13:02:09
1457664 2.268 200.232.229.220
595 1 Rose Folha de Pagamento Nacional disco2.cab 26/04/2004 13:03:01
1457664 2.268 200.232.229.220
595 1 Rose Folha de Pagamento Nacional disco3.cab 26/04/2004 13:03:51
703916 2.268 200.232.229.220
604 1 CATARINA Folha de Pagamento fpr.exe 26/04/2004 11:52:01 1589248
11.109 192.168.0.1
604 1 CATARINA Dicionário de Dados instala01.exe 26/04/2004 12:04:50
2196558 5.53 200.98.126.85
1108 1 MOUKARZEL Folha de Pagamento Nacional instala01.exe 26/04/2004
12:15:06 4903151 2.268 200.158.164.141
1186 1 Mary Folha de Pagamento Nacional instala01.exe 26/04/2004
12:21:34 1044419 Aut 200.100.72.58
1186 1 Mary Folha de Pagamento Nacional instala01.exe 26/04/2004
12:22:06 1044419 Aut 200.100.72.58
100001 2 Vilmar Cliente 100000 Sigtron Daruma disco4.cab 26/04/2004
10:40:50 94265 200.206.238.18


Thanks,
 
R

Ray at

Is that IP a proxy server on your local network? If so, either people don't
have "bypass proxy for local addresses" set, or the people are accessing
your site (I'm assuming this is an intranet?) by IP or some other
Internet-type name that would make use of the proxy server.

Ray at work
 
A

Aaron Bertrand [MVP]

You can have the users change their client/proxy settings, or you can find
another way to track users. You can't peek beyond whatever IP address they
identify themselves with...
 
V

Vilmar

Hi,
In my case ALL the users are outsite our NET: they are in any place on the
web.
I only woud like to know if there is some way to force catch the remote ip
address only??
--

thanks,

Vilmar Brazão de Oliveira
 
A

Aaron Bertrand [MVP]

NO!

Usually, if they are sending their proxy address as opposed to their "real"
IP address, it's for security reasons, e.g. they don't want people to be
able to "force catch" their real IP address.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top