aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Dynamic Server IP.  How would I change the client to connect to it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Dynamic Server IP.  How would I change the client to connect to it?" Watch "Dynamic Server IP.  How would I change the client to connect to it?" New topic
Author

Dynamic Server IP. How would I change the client to connect to it?

john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

My router's IP address is dynamic. How would I set up my chat clients to work when my router IP changes?
For example: If dynamic IP for router is 128.128.128.128, and my router changes IP address, how would I get the client to connect with the server?
Is this even possible?
Thanks,
John Price aka cc11rocks


“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

There are sites where you can register to get a sub domain name that you can update regularly. Some firewalls / routers even have built-in support for them.

I just checked mine and it supports the following which you can check out for yourself:
- DynDNS.org
- changeip.com
- No-IP.com
- yi.org


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic Server IP. How would I change the client to connect to it?