Jump to content
  • Advertisement
Sign in to follow this  

A Solution to Server IP Changes?

This topic is 4353 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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!