Garry's Mod

Hosting multiple servers on 1 pc?

Submitted by ISINAS, , Thread ID: 70537

Thread Closed
ISINAS
Active Member
Level:
0
Reputation:
3
Posts:
260
Likes:
20
Credits:
0
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?

swiixe
Junior Member
Level:
0
Reputation:
0
Posts:
65
Likes:
13
Credits:
159
20-01-2018, 01:17 AM
#2
You just need to set one of the servers to a different port, thats all.

RE: Hosting multiple servers on 1 pc?

mawetage
Newbie
Level:
0
Reputation:
0
Posts:
10
Likes:
0
Credits:
1
20-01-2018, 01:44 AM
#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?

Thod300
Member
Level:
0
Reputation:
0
Posts:
114
Likes:
4
Credits:
3
20-01-2018, 07:08 AM
#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?

lolxoxoxo
Active Member
Level:
0
Reputation:
0
Posts:
208
Likes:
6
Credits:
0
20-01-2018, 03:27 PM
#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?

ISINAS
Active Member
Level:
0
Reputation:
3
Posts:
260
Likes:
20
Credits:
0
OP
25-01-2018, 05:30 AM
#6
Adding a port command didn't do anything.
Still interested in learning how to do this.

RE: Hosting multiple servers on 1 pc?

chickendipper
Novice
Level:
0
Reputation:
0
Posts:
21
Likes:
1
Credits:
15
25-01-2018, 05:43 AM
#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?

Pepe
That one member
Level:
0
Reputation:
54
Posts:
201
Likes:
15
Credits:
606
25-01-2018, 05:50 AM
#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?

xpuska
Novice
Level:
0
Reputation:
0
Posts:
24
Likes:
1
Credits:
106
25-01-2018, 01:38 PM
#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: 1 Guest(s)