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 Sockets and Internet Protocols and the fly likes How to get my dial-up 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 » Sockets and Internet Protocols
Bookmark "How to get my dial-up IP address?" Watch "How to get my dial-up IP address?" New topic
Author

How to get my dial-up IP address?

simen wu
Greenhorn

Joined: Feb 18, 2001
Posts: 11
My computer has a static IP in the local network. When I dial up to visit Internet, the ISP will give me a new IP address. My question is, in Java how to get this new IP address?
I find that it will return my static IP address when I use InetAddress.getLocalHost().
Can anyone give me some help?
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
Hi,
Unfortunately this is not supported in Java
------------------
JScape - Java Network Components www.jscape.com
netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
Hi,I have a small doubt.If we can't find the new IP address how does instant messengers work,or is it impossible to develop an instant messenger in java?Please clear this for I'm under the idea of developing an instant messenger.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get my dial-up IP address?
 
Similar Threads
Finding the IP Address of Remote Machines if any connected to my Current machine
A couple of RMI questions
do dial up line or dedicated line make a difference?
Get the real ip adress
Problem access to Tomcat in internet and intranet at the same time