Couldn't Allocate Dedicated Server Ip Port?

KrazieKrazie 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

Comments

  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    you can't run two servers on the same port, you have 3 options to fix this.....

    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)
  • KrazieKrazie Join Date: 2003-01-17 Member: 12410Members
    That worked. Thanks!

    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?
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    1. yes, you just keep chaning the port

    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
  • pharmacistpharmacist Join Date: 2002-11-13 Member: 8444Members
    I wouldnt run NS at the same time while running another HL mod.
Sign In or Register to comment.