Is it possible to run two servers on the same computer?

Discussion in 'Help and Support' started by Wolfe, Jun 16, 2012.

  1. Wolfe Active Member

    I have two different maps that the guests of my server frequently ask me to change the current map to one of those maps. Is it possible to just run two servers? Somehow with different ports or something? Thanks in advance...
  2. Helios Member

    I've never used two for more than a boredom eater so I may not know what I'm talking about in my next sentence. When I had one running on 7778 in addition to the 7777 I had to make a copy of my tshock folder to use separate db's. But it is possible. Just forward 777x and prepare for server resources x2.
  3. Skryter Member

    This question was asked and answered before. I remember seeing it.
  4. MarioE Official TShock Developer

    Uh, okay? Thanks for the information.
  5. Wolfe Active Member

    I already have two TShock folders, both containing completely different things. I still have the problem of TShock closing the server console if more then one is open.
  6. Helios Member

    Untitled.jpg You mean that?
    Snirk Immington likes this.
  7. Skryter Member

  8. Wolfe Active Member

    Showoff... I mean... cool trick!
    How'd you do that though? Lol
  9. Skryter Member

    Im guessing he downloaded Tshock 8 times and changed the port on each of them: ( 7777, 7778, 7779, 7776, 7775, 7774, 7773, 7772 ) or something.
  10. MarioE Official TShock Developer

    No. You can't connect to a single one of them, so port changes don't matter; this is as easy as simply double clicking TerrariaServer.exe eight times. :p
  11. cuntnim Member

    i run two server and have different console and they have separate SQLite and they run fine all i had to do was port forward again but with a different port i just downloaded the t shock folder and named it my map name so i new witch one was what :)
  12. Helios Member

    Thats the entire trick. I'd say post an error log if there is one. Not sure what good it'd be though.
  13. Olink TShock Developer

    It's possible to run two maps. Essentially, you need to make two "installations" of tshock and run each with a different port. It should be possible to link all your information( config files, dbs, etc etc ) between installs, but it really depends on what plugins and sqlite or mysql.
  14. Wolfe Active Member

    I still can't figure out why a second TShock closes if a first one is already open. Is there a way to stop it?
  15. Olink TShock Developer

    Becuase you cant.
  16. Nigel New Member

    I run multiple servers off the same sqlite database via symlinking, works fine. That keeps the config and logs separate but with the same user groups, permissions, etc.
  17. SpIit Member

    You probably have your REST configured to true in the config file. You can't open a second console if it is "true". Instead it needs to be false. You can also run two consoles using the same DB no problem, but some plugins that cause the consoles to reference the same files at the same time cause one to crash due to the inability to save to a file currently in access.
  18. Wolfe Active Member

    That worked, except when the world loads on the second world, I get an error telling me "Only one usage of each socket address is normally permitted."
  19. Olink TShock Developer

    You cant run two servers off the same port :\
  20. Wolfe Active Member

    Oops, I changed it in the config but forgot I had to put 7778 when starting the server. Thanks for reminding me, lol.

Share This Page