ZooKeeper
09-23-2002, 01:25 PM
My HLDS server can't seem to open port number 27015 for clients to connect, it says: WARNING: UDP_OpenSocket: port: 27015 Bind: Cannot assign requested address
FATAL ERROR (shutting down): Couldn't allocate dedicated server IP port
Can anyone help me fix this??
Thanks
bwkaz
09-23-2002, 06:24 PM
From off your box (someone else on the same network), can you telnet <your IP address> 27015, or does it say connection refused?
If it says connection refused (and the server is NOT running at the time), then starting the server should give you no problems (barring a firewall, but it doesn't sound to me like that's the problem, it sounds like the app just can't bind to the right port).
If it accepts a connection, then you need to figure out what's using the port (hitting ctrl-c should kill telnet), and shut it down. There are tools to do this, but I don't know what they are... netstat perhaps?
Only one process can bind to any one port at a time, so you can't (for example) run two CS servers on the same port on the same computer. You also can't bind your CS server to, say, port 139 if you're running nmbd, since 139 is the NMB port. You can't bind your CS server to port 80 if you're running Apache or another web server.
27015 isn't a privileged port, so permissions aren't the problem...
ZooKeeper
09-30-2002, 11:30 PM
Ok, since I have fianlly had some time to play with the CS server, I found out that it can't open any ports. I tried having the server use port 27000, 27016, ect... It can't open anything. What could be stopping it?