Running Multiple Servers

Discussion in 'Bukkit Help' started by np98765, Jul 17, 2012.

Thread Status:
Not open for further replies.
  1. Offline


    Hello Bukkit Help subcommunity ( :p ),

    I'm trying to set up TWO servers from the same computer (gasp!). I already own the domain, and I've forwarded the subdomain 'mc' to my IP address. People can connect to my server with

    But, what if I wish to set up a PvP server as well? I'd want the IP address to be ( :25565). How would I go about doing this? I've tried editing the, and the outcomes were unsuccessful.

    12:57:27 [INFO] Starting Minecraft server on
    12:57:27 [WARNING] **** FAILED TO BIND TO PORT!
    12:57:27 [WARNING] The exception was: Can't assign requested address
    12:57:27 [WARNING] Perhaps a server is already running on that port?
    12:57:27 [INFO] Starting Minecraft server on
    12:57:27 [WARNING] **** FAILED TO BIND TO PORT!
    12:57:27 [WARNING] The exception was: Can't assign requested address
    12:57:27 [WARNING] Perhaps a server is already running on that port?

    I'm not really sure what to do. I always assumed that the 'server-ip' part of the was for exactly that, but it seems like I can't, even though I own the domain and forwarded the subdomains to my IP.
    Does anyone know how to go about doing this?
  2. Offline


    Look like a job for TnT. I suck at Port Forwarding, and TnT knows more than I do.
    Hmm... or c0mp.
  3. Offline


    To be able to have 2 servers on the 25565 port, you need 2 different IP's.

    EDIT: Or a certain DNS config within your domain.
  4. Offline

    TnT Retired Staff

    You have the wrong assumption. Just set different ports, not IP's.

    That is not what he wants to do. He wants different ports.
  5. Offline



    Is closer to my goal. I just posted two examples up there. :3

    But, I'd like these: - Survival Server - PvP Server

    Preferably, the ports would be 25565... But if that's not possible, I'm okay with that.

    What do you mean? The only thing I touched was forwarding the subdomains to my IP.
  6. Offline


    Setting up two separate DNS entries to point to different IPs to point to the same machine would be hard: you might not be able to get an extra IP. Using separate ports would be much easier: just change it in for both. (I would advise you uses non-default port for both, so that people don't get a server they weren't expecting if they forget to add the port at the end.
  7. Offline


    I guess that will have to do. If this whole "server-to-server-connection" idea is actually publicly released, it won't really matter what the IP addresses are, anyways. It was my hope to have different subdomains leading to different servers, but I see that it might not even be possible.

    Thanks for your help, everyone. If someone does have a possible way to do this, I'd love to hear it. :)
  8. Offline


    Assuming you are using a dedicated server or VPS, you will need to purchase IP addresses and bind them to the machine. Bind your minecraft servers on each IP address, and then forward your domains.
  9. Offline


    Nope, currently just my home computer, although soon it'll be a machine dedicated to the servers.
  10. Offline


    Then it is impossible unless you write a software to frontend and proxy pass each connection.
  11. Offline


    You'll need to open a new port, and also direct the subdomain to that port. That should do it.
  12. Offline


    How would I direct the subdomain to the port? I'm using NameCheap, and I have to type an IP address without a port. When I try a port...

    Improper records were NOT saved!
    There were issues with some records and they were either set to default or completely removed. Please review the issues below and update again appropriately.
    INVALID_IP: '' is not valid IP for A record. (host name: pvp)

    (I replaced my IP with x's)
  13. Offline

    chaseoes Retired Staff

    You can't. You have to type to connect.

    Also, we already know your IP is ;)
  14. Offline


    My hopes were crushed again. :oops: :p


  15. Offline


    To cheer np up you can. you just need a diffrent port.
  16. Offline

    chaseoes Retired Staff

    It might actually be possible depending on your setup. The IP option in is designed for systems with multiple IP addresses where you want to specifically tell it what IP to listen to.
  17. Offline


    Bookmarked; I'll revisit once I get my server machine. I'm on a Mac, and have no clue how to do that right now, plus, the new computer won't take too long. :)

    Thanks for the link, I'll definitely remember.
  18. Offline


    That won't work beacuse it's adding local IP addresses not external.
    Picture it this way. A client enters your address Namecheap sends it to IP address which is your router. In your router control panel, it tells anything requesting the requesting the port 25565 to go to this internal IP address.

    Minecraft automatically assumes 25565 so no matter what you do on your end, you can't change their request into the local network. They will be forced to type in the non-standart port number.

    Setting different internal ports does nothing for what you are trying to achieve.
    yttriuszzerbus likes this.
  19. Offline

    chaseoes Retired Staff

    I never said anything about different ports.
  20. Offline


    You're gonna want this:

    It has a couple limitations, but should do exactly what you need.
  21. Offline


    That no longer works with 1.3
  22. Offline

    chaseoes Retired Staff

    You can do this in 1.3 anyways since it now supports SRV DNS records.
Thread Status:
Not open for further replies.

Share This Page