Raised This Month: $52 Target: $400
 13% 

Some weird port problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sipi
Member
Join Date: Sep 2007
Old 07-11-2011 , 18: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
Ade
I love purple
Join Date: May 2010
Old 07-12-2011 , 07:07   Re: Some weird port problem
Reply With Quote #2

you should have killed the hlds process and then delete installation
__________________
Ade is offline
ojmdk476oj
AlliedModders Donor
Join Date: Dec 2009
Old 07-12-2011 , 07:38   Re: Some weird port problem
Reply With Quote #3

When i hosted servers myself, i made sure that they did not take the other server ports. So my number one server had port 27000 the next 27100 and so on. They never took another port ;)
ojmdk476oj is offline
Sipi
Member
Join Date: Sep 2007
Old 07-12-2011 , 10:20   Re: Some weird port problem
Reply With Quote #4

Quote:
Originally Posted by Ade View Post
you should have killed the hlds process and then delete installation
I did :p
Quote:
Originally Posted by johan123jo View Post
When i hosted servers myself, i made sure that they did not take the other server ports. So my number one server had port 27000 the next 27100 and so on. They never took another port ;)
But why is it skipping to port 27043 when 27040 isn't in use?
Sipi is offline
ojmdk476oj
AlliedModders Donor
Join Date: Dec 2009
Old 07-12-2011 , 10:28   Re: Some weird port problem
Reply With Quote #5

It can be sourcetv it can be a lot of things, i remember when i was on windows i had that issue all the time.. So when i changed to Linux, i just did so there was 100 ports between them to be sure : /. So i have no idea why.
ojmdk476oj is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-12-2011 , 14:28   Re: Some weird port problem
Reply With Quote #6

I get those also when run both dedicated server and game in same machine.
Bacardi is offline
Rizla
SourceMod Donor
Join Date: Jun 2010
Old 07-12-2011 , 18:58   Re: Some weird port problem
Reply With Quote #7

i get that sometimes, i just restart my whole box and start the 27040 server first. pain i know, but not found another way round it
Rizla is offline
Ade
I love purple
Join Date: May 2010
Old 07-17-2011 , 08:52   Re: Some weird port problem
Reply With Quote #8

Quote:
Originally Posted by johan123jo View Post
It can be sourcetv
default is 27020 so no
__________________
Ade is offline
Reply


Thread Tools
Display Modes

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 19:45.


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