Couldn't Allocate Dedicated Server Ip Port?
Krazie
Join Date: 2003-01-17 Member: 12410Members
<div class="IPBDescription">Help?</div> Hi, I just tried to run this on my server. I have a CS Server running already, and was wondering why I get this error? I've tried searching for any other posts about it, but couldn't find any. Can someone help?
Thanks in advance!
Error:
WARNING: UDP_OpenSocket: port: 27015 bind: Address already in use
FATAL ERROR (shutting down): Couldn't allocate dedicated server IP port
Thanks in advance!
Error:
WARNING: UDP_OpenSocket: port: 27015 bind: Address already in use
FATAL ERROR (shutting down): Couldn't allocate dedicated server IP port
Comments
1. add "-port 27016" to your server command line
2. add "+port 27016" to your server command line
3. add "port 27016" to your autoexec.cfg if it exists
and of course you can replace 27016 with any port you want as long as it's not being used (27015 is the default which your cs server is probably using)
Now what should I do if I want to run more then just thoese 2 servers? Just change the port? Does ns/cs or any hl mod let you auto connect to certian ports?
2. yes and no, halflife doesn't "automatically" connect to a port when someone has a shortcut to your server setup, but if they use some kind of server browser such as the in-game browser / all-seeing-eye / or gamespy then those browsers *should* automatically append all the necessary information when someone clicks to join your server. But if someone asks for your ip cuz you wanna scrimm or something then you have to tell them the port, and the connection information appears in this general form .....
<your server ip>:<your port>
so if your server was at ip address 123.231.132.122 and your server was running on port 27016 you would tell the person....
123.231.132.122:27016