Raised This Month: $51 Target: $400
 12% 

Ports randomly jumping.


Post New Thread Reply   
 
Thread Tools Display Modes
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 09-18-2013 , 00:20   Re: Ports randomly jumping.
Reply With Quote #11

Quote:
Originally Posted by friagram View Post
Isn't the purpose of this so you dont have to do do crap manually?
Ayways, for windows you can taskkill /u as destroying windows won't always work reliably, esp if there is a hung process - which will also kill any daemons you got for that process, as to prevent spawning new instances.

Linux has better tools, but i still hear people having problems with hangs and multiple instances from time to time.
well you said "each process as different user", which implies you would use 1 user for 1 process. that wouldnt really help things, unless you meant 1 user for all server processes
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-27-2014 , 07:15   Re: Ports randomly jumping.
Reply With Quote #12

bumbing, seems people have trouble with ports when multiple servers.

When you not add these parameters to your server launch
Code:
-port number +clientport number +tv_port number
srcds will automatically pick own ports what are available
Code:
WARNING: Port 27015 was unavailable - bound to port 27016 instead
WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead
Network: IP 192.168.137.116, mode MP, dedicated Yes, ports 27016 SV / 27006 CL
So first 5 servers starts
Code:
port 27015 ~ 27019
clientport 27005 ~ 27009
tv_port 27020 ~ 27024
...and from 6th server, begin take
Code:
6th
port 27025
clientport 27010
tv_port 27026

7th
port 27027
clientport 27011
tv_port 27028

8th
port 27029
clientport 27012
tv_port 27030

9th
port 27031
clientport 27013
tv_port 27032

10th
port 27033
clientport 27014
tv_port 27034
11th server will bring this, clientport missing
Code:
WARNING: Port 27015 was unavailable - bound to port 27035 instead
WARNING: UDP_OpenSocket: unable to bind socket
WARNING: Port 27020 was unavailable - bound to port 27037 instead
Network: IP 192.168.137.116, mode MP, dedicated Yes, ports 27035 SV / -1 CL
And SourceTV reserve everytime own port for each srcds, when you not add -nohltv parameter in launch
-----------------------------------------------------------------------------------

About net_start command.
When you have added own ports for these cvars
Code:
hostport 27020
clientport 27021
tv_port 27022
net_start command will change srcds to use those specific ports, if possible.
If one of those ports are not available, then reserve next free port.

Not recommended add this command in your server.cfg, players get disconnected !
------------------------------------------------------------------------------------
And this above relate to OrangeBox games. (At least CS:S)

However, On CS:GO.
If you start multiple cs:go srcds servers (and else games),
6th server, which should try take automatically port 27020 which tv_port is already 27020 by default.
Will actually continue by default port later, port 27015.
Now here has happen error, you have two srcds with same port, 27015.



It have something to do cs:go GOTV.

I manage to even run both cs:s and cs:go with same port
Spoiler


------------------------------------------------------------
And yes, you should use port parameters for each srcds when running multiple servers.
And make sure any other program(s) not reserve those.
Attached Thumbnails
Click image for larger version

Name:	csgobug.jpg
Views:	509
Size:	89.3 KB
ID:	131961   Click image for larger version

Name:	csgobug1.jpg
Views:	518
Size:	95.2 KB
ID:	131962   Click image for larger version

Name:	csgobug2.jpg
Views:	537
Size:	84.5 KB
ID:	131963  
Bacardi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode