NS2 Port

nsguynsguy Join Date: 2010-01-03 Member: 69869Members
Hi,

What port is the NS2 client set to run on?

Thanks.

Comments

  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    By default it's on 27015 with the listenserver port on +1 from that -> 27016
  • nsguynsguy Join Date: 2010-01-03 Member: 69869Members
    Is that not the server client? I mean the client ns2.exe which we use to play the game.
  • Ghosthree3Ghosthree3 Join Date: 2010-02-13 Member: 70557Members, Reinforced - Supporter
    As most games randomly generate the client port, I assume it's random. (Cannot confirm).
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    edited May 2013
    It's not random, these are the default ones (UWE's default ports are based on Goldsrc/Source). You could of course setup your own ports if you want, using the -port tag to be able to run multiple server instances on the same IP/box

    Unless you want to host (listen server/dedicated server), there's no real need to forward ports anyways...
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    nsguy said:
    Is that not the server client? I mean the client ns2.exe which we use to play the game.
    I presume you wanted the ports because you were hosting a listen server? The ports more or less don't matter unless your hosting a server in some form. What exact problem are you having that you need to know the ports?
  • nsguynsguy Join Date: 2010-01-03 Member: 69869Members
    There's no problem, but I would like to know which port(s) ns2.exe runs on (the game client). I've used the netstat program in Windows to find it out, but I'm unsure whether it is the same for all or whether it is randomly generated.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    nsguy wrote: »
    There's no problem, but I would like to know which port(s) ns2.exe runs on (the game client). I've used the netstat program in Windows to find it out, but I'm unsure whether it is the same for all or whether it is randomly generated.
    It should just be the standard Steam ports + 27015/27016 most of the time. However, some servers may be running on non-standard ports (e.g. I run some of mine up to 27032).
Sign In or Register to comment.