How to get IP address in Javascript?
- From: "Rex" <z444y@xxxxxxxxx>
- Date: 30 Jun 2006 13:37:41 -0700
Hi all,
I need to get the IP address of client machines
from inside Mozilla, Netscape, and IE.
Many webpages say to use in Netscape 4+
the expression
var ip = java.net.getLocalhost.getIpAddress()
This for me always returns 127.0.0.1.
Is this a bug or should I get trying to retrieve
an array of addresses and then scan that?
Thanks.
.
- Follow-Ups:
- Re: How to get IP address in Javascript?
- From: Evertjan.
- Re: How to get IP address in Javascript?
- Prev by Date: Re: Grab ElementbyID from innerhtml
- Next by Date: Re: Link Submit Ideas
- Previous by thread: status bar (window.status) not working in Netscape 8.1
- Next by thread: Re: How to get IP address in Javascript?
- Index(es):
Relevant Pages
|