a question about setting up 2 servers

Results 1 to 9 of 9
  1. #1
    Account Upgraded | Title Enabled! norman1234 is offline
    MemberRank
    May 2009 Join Date
    303Posts

    a question about setting up 2 servers

    ok i have one pc setup with virtualbox and trying to setup another pc with another virtual box setup. both using same local network. how to configure so they both work? i know they have different ips but same local..anyway to configure so if i restart one it wont restart the other?


  2. #2
    Account Upgraded | Title Enabled! norman1234 is offline
    MemberRank
    May 2009 Join Date
    303Posts

    Re: a question about setting up 2 servers

    what i mean is i have vbox installed on both pcs.. ones hosting the server.. the other is one i want for testing. how to setup the 2nd one.. instead of having one vbox and changing the ips.. i'd like to have one vbox on each pc.. so it cuts the lack of cpu usage.. i have tried to set it up.. it still uses same local ip as the first.. anyway to go around this? if so how?

  3. #3
    cats addicted Zorno is offline
    MemberRank
    Apr 2010 Join Date
    GermanyLocation
    1,465Posts

    Re: a question about setting up 2 servers

    The magic word here is "ports"

    you can run as many servers you want even in one box as long as you give them unique ports.

  4. #4
    SON OF MARFEL hrace009 is offline
    MemberRank
    Apr 2009 Join Date
    Pekanbaru, IndoLocation
    1,035Posts

    Re: a question about setting up 2 servers

    Quote Originally Posted by Zorno View Post
    The magic word here is "ports"

    you can run as many servers you want even in one box as long as you give them unique ports.
    ports and IP addressing

    at my server, i use 2 PC for it

    1. for game server
    2. for MySQL and web server

    but still with one line internet
    Last edited by hrace009; 02-02-11 at 02:23 PM.

  5. #5
    Account Upgraded | Title Enabled! norman1234 is offline
    MemberRank
    May 2009 Join Date
    303Posts

    Re: a question about setting up 2 servers

    yeah i figured it out.. had to go edit etc/interface or soemthing like that with the ips i wanted vbox to use.. then change the conf files. took me a bit of reading about linux to understand.. and then also made my swap file bigger.

  6. #6
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: a question about setting up 2 servers

    Quote Originally Posted by Zorno View Post
    The magic word here is "ports"

    you can run as many servers you want even in one box as long as you give them unique ports.
    Well... you can run 65536 different servers because of ports (since you can only use 0-65535)

  7. #7
    Robb rbb138 is offline
    MemberRank
    Jan 2009 Join Date
    London, EnglandLocation
    1,241Posts

    Re: a question about setting up 2 servers

    no becuase each server uses around 50 different ports internally for the game daemons to connect to each other.

    eg gdeliveryd has a port, gauthd has a port, each map has its own port, gamedbd... etc etc

    you will need to change them all.

  8. #8
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: a question about setting up 2 servers

    Quote Originally Posted by rbb138 View Post
    no becuase each server uses around 50 different ports internally for the game daemons to connect to each other.

    eg gdeliveryd has a port, gauthd has a port, each map has its own port, gamedbd... etc etc

    you will need to change them all.
    Robb you know what I meant...

    65536 different applications bound to ports. That better?

  9. #9
    Omega 343 is offline
    MemberRank
    Oct 2009 Join Date
    Ancient DGN CTYLocation
    5,514Posts

    Re: a question about setting up 2 servers

    lmfao



Advertisement