Garry's Mod

Hosting multiple servers on 1 pc?

Submitted by ISINAS, , Thread ID: 70537

Thread Closed
20-01-2018, 12:37 AM
#1
So I looked online and couldn't really understand and really get the solid source answer for this concept.

Providing my VPS and withstand the processing power required for 2 servers, how can I go about hosting 2 servers at once?

/hosted different workshops
/different addons enabled (or does my addons have to be cross-compatible with darkrp & ttt)

Any info would be great. I'd be nice to be able to have more than just 1 server running and not have to buy a new vps or whatever else cases may be.

RE: Hosting multiple servers on 1 pc?

#2
You just need to set one of the servers to a different port, thats all.

RE: Hosting multiple servers on 1 pc?

#3
The port selection is entirely automated, you don't need to do something specific or idk what

RE: Hosting multiple servers on 1 pc?

#4
Make sure the second server has a different port. Edit the start.bat file and put in -port (any number) and it should work.

RE: Hosting multiple servers on 1 pc?

#5
use a host dont use your computor, alot easier to hack your intetrnet if you run it on your computor

RE: Hosting multiple servers on 1 pc?

OP
#6
Adding a port command didn't do anything.
Still interested in learning how to do this.

RE: Hosting multiple servers on 1 pc?

#7
For windows a program called Nuestart works pretty well unsure if u can find it anymore makes setting affinities and threads easy, for linux even more simple as just adding a crontab and running the srcds from 2 individual crontab commands or alter linuxgsm, lots of very easy and obvious ways if u use linux specially limiting the threads, The game runs phenomenally well on a single thread i've ran 7 80 slot servers and webserver on a i7 2700k in the past.

RE: Hosting multiple servers on 1 pc?

#8
Don't listen to guy who said hacking internet thing that's dumb. But yeah about the Ports and nuestart is pretty good.
When I die, I want to go in my sleep just like my Grandpa did. Not screaming like all the people on his plane.

RE: Hosting multiple servers on 1 pc?

#9
Set random ports on both and set diff CPUs.
Example:
You have your RP running on CPU #1 with port 27019
And you have your TTT running on CPU #4 with port 1337

Users browsing this thread: 9 Guest(s)