Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Request.ServerVariables("remote_addr")
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedRequest.ServerVariables("remote_addr")

 Post Reply Post Reply Page  <12
Author
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Direct Link To This Post Posted: 13 January 2004 at 9:47am

That's how it's done. Try running that script and set it to false. I'll re-run your asp link and see what's returned. Right now it returns:

Request.ServerVariables("remote_addr") :195.42.92.165
Request.ServerVariables("REMOTE_HOST") :m-200.ru

 


Lead me not into temptation... I know the short cut, follow me.
Back to Top
Dmitry View Drop Down
Newbie
Newbie
Avatar

Joined: 25 December 2003
Location: Russian Federation
Status: Offline
Points: 5
Direct Link To This Post Posted: 13 January 2004 at 10:00am

Ok

Now the EnableReverseDNS  is set to False

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Direct Link To This Post Posted: 13 January 2004 at 10:37am

This is what I get now...

Request.ServerVariables("remote_addr") :195.42.92.165
Request.ServerVariables("REMOTE_HOST") :195.42.92.165


Lead me not into temptation... I know the short cut, follow me.
Back to Top
Dmitry View Drop Down
Newbie
Newbie
Avatar

Joined: 25 December 2003
Location: Russian Federation
Status: Offline
Points: 5
Direct Link To This Post Posted: 13 January 2004 at 12:06pm

I see same result

What's wrong on server?

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Direct Link To This Post Posted: 13 January 2004 at 2:17pm

Nothing was really wrong.

You have the server option to return either the IP address or the Reverse DNS lookup for a REMOTE_HOST. Your server was originally returning the reverse DNS lookup. When Morningz ran the script on his server, he got the ip address because that's what his REMOTE_HOST option was.

Most servers do return the ip address, but it's not required that they do so. The reverse dns lookup is also ok.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
meteor View Drop Down
Groupie
Groupie
Avatar

Joined: 31 August 2003
Location: Iran
Status: Offline
Points: 67
Direct Link To This Post Posted: 15 September 2004 at 1:37am
Hi .
i Search For Real Client IP Address.
if Clients use Proxy Or they Are Behind NAT how can i Get their IP Address even Virtual IP's.is any Scripts run on client and send to server Client Ip Address?
this is Very important to me...
Sorry For my Bad english
Sincerely
--------------------
PowerFull Scripts For NTTacPlus
Back to Top
meteor View Drop Down
Groupie
Groupie
Avatar

Joined: 31 August 2003
Location: Iran
Status: Offline
Points: 67
Direct Link To This Post Posted: 19 September 2004 at 4:07am

hi . in my previous post i wrote for Real Client Ip .
i see this in 1-counter.com .
how they get my client Ip . cookie?
i see in my stats 192.168.0.4 thatis my invalid Ip address ...
is ther any java script for getting client Ip address even if invalid address range ?????

Sincerely
--------------------
PowerFull Scripts For NTTacPlus
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Direct Link To This Post Posted: 19 September 2004 at 4:28am
When you request a page (or any object that comes from the server using HTTP) your  web browser sends your IP Address, so it is not from a cookie.  Your IP is showing up as 192.168.0.4 because you are probably behind a router. JS cannot get the client IP but you can use ASP then validate the IP address.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.