This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes getting ip address Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "getting ip address" Watch "getting ip address" New topic
Author

getting ip address

vinayaga moorthi
Greenhorn

Joined: Jan 31, 2006
Posts: 14
I want to get the ipaddress all over the network including server ip also. so how can i get the ipaddress...
Mark Van Tuyl
Ranch Hand

Joined: Mar 22, 2002
Posts: 60
I think you want to take a look at the InetAddress class.


<a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank" rel="nofollow">How To Ask Smart Questions</a>
ak pillai
author
Ranch Hand

Joined: Feb 11, 2006
Posts: 288
I think you should look at NetworkInterface class in java.net.*

http://java.sun.com/j2se/1.4.2/docs/api/java/net/NetworkInterface.html


java j2ee job interview questions with answers | Learn the core concepts and the key areas
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting ip address
 
Similar Threads
client ip through anonymous proxy server
Way to get IP address through Java?
How to get visitors IP address in Java?
How to get Client's IP address in Servlet
what is the method to get the name of the server