View Single Post
Author Message
Sipi
Member
Join Date: Sep 2007
Old 07-11-2011 , 17:49   Some weird port problem
Reply With Quote #1

Hi there!

I'm having some weird port problems with SRCDS. I'm running four CS:S servers on my machine. The servers are using the following ports: 27015, 27025, 27035 and 27040. For some reason, some of the servers wont start with the port I tell it to:
Code:
WARNING: Port 27040 was unavailable - bound to port 27041 instead
WARNING: Port 27041 was unavailable - bound to port 27042 instead
WARNING: Port 27042 was unavailable - bound to port 27043 instead
Some times, 27042 works, but mostly it skips to 27043. The weird thing, is that it has been working fine for some time, and today I installed a HLDS server with CS and port 27040 - and it worked fine. I deleted the installation and killed the HLDS process. A minute later, I ran the CS:S server (with -port 27040 in command line), and it skipped to 27042.

Code:
$ netstat -ntlp | grep 270
tcp        0      0 xx.xx.xx.xx:27043       0.0.0.0:*               LISTEN      4349/srcds_linux
tcp        0      0 xx.xx.xx.xx:27015       0.0.0.0:*               LISTEN      18488/srcds_linux
tcp        0      0 xx.xx.xx.xx:27026       0.0.0.0:*               LISTEN      4346/srcds_linux
tcp        0      0 xx.xx.xx.xx:27035       0.0.0.0:*               LISTEN      4347/srcds_linux
(as you can see, 27015 and 27035 works, but 27025 runs as 27026..)
Sipi is offline