Posts: 47
Threads: 14
Joined: Jun 2007
Reputation:
0
Hey guys, I'm having troubles making a Counter-Strike: Source server go to the port of 27021, but when I start it up, it goes to the port of 27025.
here is my command line:
/home/***/srcds_i686 -dir /home/***/ -game cstrike +maxplayers 32 +ip 70.38.21.1 -port 27021 +map death_run -tickrate 66
And yes, it is off of a control panel, I just input the ip, port, tickrate, and it will make the server. I've installed at least 5-6 other servers, and this has never happend before.
I'm open to suggestions, I've already tried reinstalling the server, but it still did nothing.
Thanks in advance,
Miauw Mizx
Posts: 92
Threads: 3
Joined: Jun 2008
Reputation:
0
port 27021 allready occupied? Source automatically tries the next port until it finds one thats free.
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Posts: 47
Threads: 14
Joined: Jun 2007
Reputation:
0
Well there are no other source servers running that port, on that IP that I have assigned, and there is no server with that ip:port in hlsw.
Is there a way to see if the port is already being occupied?
Posts: 92
Threads: 3
Joined: Jun 2008
Reputation:
0
06-03-2009, 12:16 AM
(This post was last modified: 06-03-2009, 12:17 AM by janne.)
sudo lsof -i
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Posts: 47
Threads: 14
Joined: Jun 2007
Reputation:
0
Ok, for some reason, there is something holding up the ports from 27008-27026. When the player count on the servers is lower, I will restart the dedi and see if that takes care of it. If not, then I will go more in depth and find out the problem.
Posts: 234
Threads: 11
Joined: May 2008
Reputation:
3
Cough, You need to Disable Sourcetv COmpletly, otherwise the port will still be used, even if sourcetv isn't active.
Posts: 47
Threads: 14
Joined: Jun 2007
Reputation:
0
Ok then how do you completely disable sourcetv?
Posts: 17
Threads: 2
Joined: May 2009
Reputation:
0
-nohltv in the start parameters.
Posts: 47
Threads: 14
Joined: Jun 2007
Reputation:
0
Ok thank you, I will try it later.
Posts: 47
Threads: 14
Joined: Jun 2007
Reputation:
0
I think it worked, thanks guys!