Hlds_l

CoREJayFiveCoREJayFive Join Date: 2003-02-12 Member: 13479Members, Constellation
<div class="IPBDescription">Why is it using 2 ports?</div> I have 2 separate linux machines running NS servers with AdminMod. It has come to my attention that they are each utilizing 2 network ports.

Box 1 (RedHat Linux) runs on 27015. When I run a netstat I get:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->udp        0      0 *:27015                 *:*
udp        0      0 *:27016                 *:*
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Box 2 (Debian Linux) runs on 27016. When I run a netstat I get:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->udp        0      0 *:27016                 *:*
udp        0      0 *:27017                 *:*
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

I noticed this phenomenon when I tried to run a second server on box 1. The server failed because it said 27016 was in use.

It's not a big deal, but I was wondering if anyone knew why hlds_l does this.

Comments

  • DarkFrostDarkFrost Join Date: 2003-04-03 Member: 15154Members, NS1 Playtester, Constellation
    edited June 2003
    im not sure why it would do that, but (i cant remember if this would be right)
    /hlds_run -game ns +maxplayers 12 +map ns_bast -port 27015 -pingboost 2 -heapsize 128000; sleep 60; done &
    would be like your command path?
    If you miss a bit out like the port section it may assign ports?(honestly dont know much about linux, but ill try help you <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->)
  • cracker_jackmaccracker_jackmac Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
    odd, i was able to launch 3 servers using 15 16 and 17 in CS
  • CheesyPetezaCheesyPeteza Join Date: 2002-11-24 Member: 9784Members, NS1 Playtester, Constellation
    Have you got logmod installed?
  • CoREJayFiveCoREJayFive Join Date: 2003-02-12 Member: 13479Members, Constellation
    <!--QuoteBegin--CheesyPeteza+Jun 8 2003, 09:47 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (CheesyPeteza @ Jun 8 2003, 09:47 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Have you got logmod installed? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    YES! Makes sense now. Thanks for clearing that up.
Sign In or Register to comment.