SRCDS Steam group


Couldn't allocate UDP port?
#1
When I start my server it just crashes and I get this error:

WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate dedicated server UDP port

If I unbind the port and IP it starts but runs as localhost. My run line looks like this.

./srcds_run -console -game cstrike +map de_dust2 +maxplayers 33 -autoupdate +maxplayers 33 -ticrate 66 +ip 174.137.52.203 -port 27015 +fps_max 600

Its on a fresh install of FC10 64 bit, IP tables is working fine and I allowed the following ports

Code:
iptables -A INPUT -p tcp --dport 27030 -j ACCEPT
iptables -A INPUT -p tcp --dport 27031 -j ACCEPT
iptables -A INPUT -p tcp --dport 27032 -j ACCEPT
iptables -A INPUT -p tcp --dport 27033 -j ACCEPT
iptables -A INPUT -p tcp --dport 27034 -j ACCEPT
iptables -A INPUT -p tcp --dport 27035 -j ACCEPT
iptables -A INPUT -p tcp --dport 27036 -j ACCEPT
iptables -A INPUT -p tcp --dport 27037 -j ACCEPT
iptables -A INPUT -p tcp --dport 27038 -j ACCEPT
iptables -A INPUT -p tcp --dport 27039 -j ACCEPT
iptables -A INPUT -p udp --dport 1200 -j ACCEPT
iptables -A INPUT -p udp --dport 27015 -j ACCEPT
iptables -A INPUT -p udp --dport 27016 -j ACCEPT
iptables -A INPUT -p udp --dport 27017 -j ACCEPT
iptables -A INPUT -p udp --dport 27018 -j ACCEPT
iptables -A INPUT -p udp --dport 27019 -j ACCEPT
iptables -A INPUT -p udp --dport 27020 -j ACCEPT
iptables -A INPUT -p tcp --dport 27015 -j ACCEPT
iptables -A INPUT -p udp --dport 27000 -j ACCEPT
iptables -A INPUT -p udp --dport 27001 -j ACCEPT
iptables -A INPUT -p udp --dport 27002 -j ACCEPT
iptables -A INPUT -p udp --dport 27003 -j ACCEPT
iptables -A INPUT -p udp --dport 27004 -j ACCEPT
iptables -A INPUT -p udp --dport 27005 -j ACCEPT
iptables -A INPUT -p udp --dport 27006 -j ACCEPT
iptables -A INPUT -p udp --dport 27007 -j ACCEPT
iptables -A INPUT -p udp --dport 27008 -j ACCEPT
iptables -A INPUT -p udp --dport 27009 -j ACCEPT
iptables -A INPUT -p udp --dport 27010 -j ACCEPT
iptables -A INPUT -p udp --dport 27011 -j ACCEPT
iptables -A INPUT -p udp --dport 27012 -j ACCEPT
iptables -A INPUT -p udp --dport 27013 -j ACCEPT
iptables -A INPUT -p udp --dport 27014 -j ACCEPT
iptables -A INPUT -p udp --dport 27015 -j ACCEPT

Anyone else have any other ideas? It's a self managed linux hosting so the host won't help you without charging $$$$.
Reply
#2
Remove the +ip and -port.

Like:
Code:
./srcds_run -console -game cstrike +map de_dust2 +maxplayers 33 -autoupdate +maxplayers 33 -tickrate 66 +fps_max 600

And btw. you were missing a k in tickrate
Reply
#3
Ok had wrong IP lol, but ran it as default as you posted, server starts good but still can't see in steam, checking ports again

Code:
174.137.53.202 isn't responding on port 27000 ().
174.137.53.202 isn't responding on port 27001 ().
174.137.53.202 isn't responding on port 27002 ().
174.137.53.202 isn't responding on port 27003 ().
174.137.53.202 isn't responding on port 27004 ().
174.137.53.202 isn't responding on port 27005 ().
174.137.53.202 isn't responding on port 27006 ().
174.137.53.202 isn't responding on port 27007 ().
174.137.53.202 isn't responding on port 27008 ().
174.137.53.202 isn't responding on port 27009 ().
174.137.53.202 isn't responding on port 27010 ().
174.137.53.202 isn't responding on port 27011 ().
174.137.53.202 isn't responding on port 27012 ().
174.137.53.202 isn't responding on port 27013 ().
174.137.53.202 isn't responding on port 27014 ().
174.137.53.202 isn't responding on port 27015 ().
174.137.53.202 isn't responding on port 27016 ().
174.137.53.202 isn't responding on port 27017 ().
174.137.53.202 isn't responding on port 27018 ().
174.137.53.202 isn't responding on port 27019 ().
174.137.53.202 isn't responding on port 27020 ()..

On the netstat vaun

Code:
netstat -vaun
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
udp        0      0 174.137.53.202:27015        0.0.0.0:*
udp        0      0 174.137.53.202:27020        0.0.0.0:*
udp        0      0 174.137.53.202:26901        0.0.0.0:*
udp        0      0 0.0.0.0:789                 0.0.0.0:*
udp        0      0 0.0.0.0:803                 0.0.0.0:*
udp        0      0 0.0.0.0:59080               0.0.0.0:*
udp        0      0 0.0.0.0:43238               0.0.0.0:*
udp        0      0 0.0.0.0:5353                0.0.0.0:*
udp        0      0 0.0.0.0:111                 0.0.0.0:*
udp        0      0 0.0.0.0:631                 0.0.0.0:*
udp        0      0 174.137.53.202:27005        0.0.0.0:*
udp        0      0 :::789                      :::*
udp        0      0 :::111                      :::*


Ports open


Code:
srcds_i68 8505   5u  IPv4 399572      0t0  UDP unknown.xxx.com:27015
srcds_i68 8505    6u  IPv4 399573      0t0  UDP unknown.xxx.com:27020
srcds_i68 8505   7u  IPv4 399574      0t0  UDP unknown.xxx.com:27005
srcds_i68 8505    8u  IPv4 399575      0t0  TCP unknown.xxx.com:27015 (LISTEN)
srcds_i68 8505   10u  IPv4 399590      0t0  UDP unknown.xxx.com:26901

Sill can't connect on steam
Reply
#4
Isn't that ip your external IP?

Try with your internal.
Reply
#5
external ip? the netstat shows "174.137.53.202:27015" open, so I guess there is no NAT or so... and your server should be running. but you can't connect or what is your problem? I actually can see the server running (in hlsw):
174.137.53.202:27015 TorontoDarkly.ca |NO AWP/AUTO + FF ON|

what tool do you use for the port check? maybe it checks only tcp?

PS: you don't need to open so many ports, udp+tcp 27015 is enough for the server. remember to keep some ssh port or so open for remote management if you are not sitting in front of the server ;-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)