File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes IP address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "IP address" Watch "IP address" New topic

IP address

Arvind Kini
Ranch Hand

Joined: Dec 28, 2000
Posts: 31
how can I get ip address of any server if given a name ? for ex.whats the ip address of
thanks and regards
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
If you want to do it manually you can usually just type "ping" at a command prompt which should give you the answer.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: IP address
It's not a secret anymore!