You can assign ports to each server in the command line.
TF2 for example:clientport : 27005 :
: Host game client porthostport : 27015
: : Host game server portmatchmakingport
: 27025 : : Host Matchmaking
portreplay_fileserver_offload_port : 21 : , "sv", "cl" :
Port number for FTP server where session blocks will be
offloaded.replay_fileserver_offload_proxy_port : 8080 : , "sv", "cl"
: The port of the proxy server.replay_fileserver_port : 80
: , "rep", "norecord", "cl" : The port for the Web server hosting replays.
For example, if your replays are stored at
'http://123.123.123.123:4567/tf/replaysystemlinkport
: 27030 : : System Link porttv_port
: 27020 : : Host SourceTV port
Print off a cvarlist ('cvarlist log cvarlist.txt' into console) for each
gametype you looking at and just use find to look for the word 'port' and
assign accordingly.
Cheers
> From: lando...@gmail.com
> Date: Sat, 9 Feb 2013 18:58:49 -0700
> To: hlds_linux@list.valvesoftware.com
> Subject: [hlds_linux] Overlapping port usage when running multiple servers
> on one machine
>
> Currently I'm trying to host multiple servers on one machine. It's a very
> beefy machine, two 16-core AMD processors and 64 gigs of memory, so I'd
> like to run quite a bit of servers, 30+ if possible. However, I'm running
> into an issue when I spin up more than fiver servers or so. Right now I'm
> having issues with ports overlapping, as in the servers try to request a
> port but it's already in use. For the first five they would just use the
> next port up. However, it seems that a server uses two ports (correct me if
> I'm wrong) 27015 and 27020. After five servers, the next server tries to
> use 27015, it's in use so it tries 27020 and then it gives up.
>
> I know when you use the srcds_run command, there is a way to specify the
> port to use, but I can't remember the command. Also, how many ports do I
> have to specify? Just two, or are there more than that?
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
> visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux