Running 3 servers on same computer with different IP's

Discussion in 'Bukkit Help' started by ibab, Jul 11, 2012.

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



    So I've got a dedicated server and 3 IP's with it. I was hoping to be able to have like for one of the servers, then for the other and so on. So the players wouldn't have to switch through the ports.

    What I did, was just open the and gave each server different ip into the server-ip field. However, after starting up the server, the port was already in use.

    I'm not an expert or know much about ports or this kind of a situations. I was wondering if this is even possible and if it is, how can I get each IP their own ports?
  2. Offline

    TnT Retired Staff

    Do you have three different IP's attached to the server?

    Moved to the correct forum.
  3. Offline


    You need to put each server on a different port, you can't define a port with a subdomain, but you can do provided your ports are on 25565, 25566, and 25567.
  4. Offline


    What he said.
  5. Offline


    No, he doesn't. If he has 3 IP addresses, then he really doesn't. What he needs to know is if those 3 IP addresses are in fact bound to his server in some way, ideally presented as 3 separate NIC's (or aliases of a single NIC).

    If this is a linux host and you have shell access run ifconfig and see what the output is, you should see the three different IP addresses, hopefully as eth0, eth0:0 and eth0:1

    If not, you'l likely have to go back to your hoster and get that setup, then you can bind each server to a different IP address/NIC
  6. Offline


    Was on vacation at Turkey, but am now back. Thank you for the replies.
    So basically, I've got a server from OVH (Or actually from Kimsufi) and I bought 2 IP Fail-Over's which are both basically routed to the original IP of the machine.

    When I type ifconfig, I will see eth0, eth0:0 and eth0:1

    OVH gave me a tutorial about eth0:0 and eth0:1 and I followed those. Here's basically what I did.

    nano /etc/sysconfig/network-scripts/ifcfg-eth0:0
    IPADDR="the new IP address I got"
    Exited and saved the file.
    ifup eth0:0
    And the same for eth0:1.
  7. Offline


    Just add one IP address each into the for each server you want to run. Each server will bind only to the IP address you have in

    In saying that, I'm doubtful that your netmask would be, that's not really a valid netmask but I've never had this exact situation so it may still work
  8. Offline


    should b
    GTX_680 likes this.
  9. Offline


    Even though the netmask is, it still doens't work.

    In the, each server has their own IP defined. Despite of that, the second server which I'll launch tells me "[WARNING] **** FAILED TO BIND TO PORT!".

    EDIT: Nevermind. I just got it working now. Thanks for the help.
  10. Offline


    Good luck managing three servers at the same time on one machine.
    I feel sad for the machine.
  11. Offline


    It has i5 CPU, 16GB RAM, 2Tb HDD and 100Mbits down/up. I believe that should be fairly enough to host 3 servers.
  12. Offline


    You'll likely have HDD speed issues at the very least if any of the servers have many people. If they are all very lightly loaded (5 users each) then it'll probably be ok, but more than that I wouldn't be surprised if you some issues. Also make sure you leave a good chunk of RAM free for the OS to use as disk cache.

    Also given the envorinment you're running these, I would be surprised if the netmask was supposed to be, I would expect something more like, but you provider will be able to tell you for sure, this is something you want to have right
  13. Offline


    you seem to have enough ram, so try popping a server into the Ramdisk. However, this may stuff the RAM completely, as everything will happen in flash memory. It will be a hell of a lot quicker though.
    If you're gonna use this solely to run servers, get a CentOS operating system. No more wasted ram on keeping Windows Aero running.
Thread Status:
Not open for further replies.

Share This Page