470,613 Members | 2,410 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

Client's IP address retrival

Hi Group members !
I want to know about a method for detecting client's IP which is
running behind a proxy server.
Is there any possible way in Javascript to get the IP address of the
client's machine which is using proxy.

Jul 29 '05 #1
10 14999
VK

varungupta wrote:
Hi Group members !
I want to know about a method for detecting client's IP which is
running behind a proxy server.
Is there any possible way in Javascript to get the IP address of the
client's machine which is using proxy.


Would *you* like to have 2-5 seconds delay on each click before context
menu appears?

I would get crazy on the 3rd click. *Many many* users too.

Interface has to be as fast responsive as possible, even if the
interface initialization phase will get longer. This fact was proven by
blood (money) over the last years.

You need several minutes to load your menus? Load them. Just make sure
then later all menus will popup like Jack In The Box on the first
demand.

Jul 29 '05 #2
VK
Oops. Post to the wrong thread.. Either myself, or some Google trick...

Jul 29 '05 #3
Lee
varungupta said:

Hi Group members !
I want to know about a method for detecting client's IP which is
running behind a proxy server.
Is there any possible way in Javascript to get the IP address of the
client's machine which is using proxy.


var IP=prompt("What is your IP address?");

Otherwise, no.

Jul 29 '05 #4
varungupta wrote:
I want to know about a method for detecting client's IP which is
running behind a proxy server.
The machine I'm currently working on has, at one time, had six separate ip
addresses. Which would you like?
Is there any possible way in Javascript to get the IP address of the
client's machine which is using proxy.


No. The only IP address you can find out is the one that is making the
request to the server - and you can't find that out with JavaScript.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 29 '05 #5
In article <11**********************@g47g2000cwa.googlegroups .com>, varungupta wrote:
Hi Group members !
I want to know about a method for detecting client's IP which is
running behind a proxy server.
What use are numbers like 192.168.1.13?
Is there any possible way in Javascript to get the IP address of the
client's machine which is using proxy.


Probably not. but if you get yourself a real good lawyer you may be able
to get the info you want from the operators of the proxy on a case-by-case
basis. :^)

if you are wanting to locate the client for legal reasons you may do
better to relocate the server to a land where there are less restrictive
laws on who you can share what with.

Bye.
Jasen
Aug 12 '05 #6
Jasen Betts wrote:
varungupta wrote:
Hi Group members !

I want to know about a method for detecting client's IP which is
running behind a proxy server.


What use are numbers like 192.168.1.13?


They connect my pc to my server in my network. That's what they are used for ]:->
Besides, don't tell him my IP range! ;-)
Aug 12 '05 #7
On Fri, 29 Jul 2005 03:32:55 -0700, varungupta wrote:
Hi Group members !
I want to know about a method for detecting client's IP which is
running behind a proxy server.
Is there any possible way in Javascript to get the IP address of the
client's machine which is using proxy.


The purpose of a proxy server is to isolate the IP's of the private
network from the Internet... so, no.

--
"Blessed is he who expects nothing, for he shall never be disappointed."
Benjamin Franklin (I didn't know he was a Buddhist)

Aug 12 '05 #8
Well, it's not possible to directly get the ip adress of the client behind the proxy indeed. But i think it is possible to use (nasty) cookies on the client machine to store its IP as any other information (session variable, visit count, etc) so you can retrieve it anytime. If cookies are activated in the client browser, of course.
Aug 22 '05 #9
Hi

pd: php-scripts dont get real ip behind an anonymous or high anonymous proxy , only transparent proxies.

greetings
Feb 17 '06 #10
> Is there any possible way in Javascript to get the IP address of the
> client's machine which is using proxy.[/color]

No if the user is with a LAN behind a gateway or proxy. You only can get local ip 192.168.XX. but no the truly ip.


cheers
Feb 27 '06 #11

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by varungupta | last post: by
5 posts views Thread by JezB | last post: by
4 posts views Thread by Andy | last post: by
14 posts views Thread by Ankit Aneja | last post: by
13 posts views Thread by James | last post: by
3 posts views Thread by Chris H | last post: by
2 posts views Thread by WhatHappend | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.