• Advertisement
Sign in to follow this  

A Solution to Server IP Changes?

This topic is 4207 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I've made a multiplayer game, and since I don't want to pay for a server I'm hosting the game on my LAN. The problem is, I have DSL, so occassionally my IP will change. This poses the question: How do I keep the client informed of what IP to access? One thing I do have is a website with a static IP. My plan is to have a file on the website listing the IP of the server. The server will access the website's FTP every 10 minutes or so and update the file with the correct IP. Instead of the client accessing a single hard-coded IP, it will access the website file and read the IP from there. Would this plan work? Are there any obvious security holes I should be aware of? Also, does anyone know where I might find a tutorial explaining how to do something like this? I'm using Java. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
DynDNS is another free service that sounds a lot like what Nice Coder pointed you to. I've used DynDNS and don't have any complaints so far...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement