Find out IP address of URL. 
Author Message
 Find out IP address of URL.

I need to find out what IP address is represented by a URL without actually
loading the URL page.  Is this possible in JS?


Wed, 13 Nov 2002 03:00:00 GMT  
 Find out IP address of URL.
Not from the client side...

Outside the browser you could ping the domain name and trap and parse the output but *many* servers
won't respond to the ping.  You won't be able to tell if the server is up, but you'll at least get
the IP address.
For example,

C:\WINDOWS>ping msdn.microsoft.com

Pinging msdn.microsoft.com [207.46.130.161] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 207.46.130.161:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum =  0ms, Average =  0ms

--
Michael Harris
MVP Scripting


I need to find out what IP address is represented by a URL without actually
loading the URL page.  Is this possible in JS?



Wed, 13 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. finding a client's ip address

2. Finding my IP Address

3. finding ip addresses

4. Find IP address for a given Server Name

5. Finding the IP address of a client

6. Find IP address of a remote host

7. Finding my IP Address

8. changing of IP-address and other IP parameters

9. VBscript for IP Address, Mac Address, Username

10. changing of IP-address and other IP parameters

11. Session Variable Time-outs

12. email IP address

 

 
Powered by phpBB® Forum Software