Chocolate Software Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: List of ports to be opened for FS2002, FS2004 and FSX users  (Read 8564 times)

-sam-

  • Junior Member
  • **
  • Offline Offline
  • Posts: 15
    • 3D
List of ports to be opened for FS2002, FS2004 and FSX users
« on: December 07, 2006, 06:22:11 AM »

Hi there,

Iīm still not 100% sure wich ports finally needs to be opened for useres of different FS Version.
Through several websites and testing it looks like this at the moment.

FS2002

23456-23458 UDP  FSMP Connection
6073 UDP         ???
23432 TCP/UDP  FSNavigator
2300-2400 UDP  DirectPlay Peer ?
47624 TCP        DirectPlay Server ?

FS2004

23456-23458 UDP
6073 UDP
23432 TCP/UDP
2300 to 2400 UDP 

FSX

for FSX Iīm currently suggesting our users to open
all ports need for FS2002 and 2004. Below the line the same list
as FS2002

23456-23458 UDP
6073 UDP
23432 TCP/UDP
2300-2400 UDP
47624 TCP

1. Are these port configurations correct for the different FS Versions ?
   Especially for FSX ?
2. Actually we only have one server running on port 23456. But for some reason
Iīm also able to connect with 23457 and 8. This is sometimes usefull cause in very rare cases our
firewall/intrusion detection disconnects users and wonīt let them reconnect on a specific port
for an hour. In such a case the user is able to reconnect with port 23457 or 8. So thatīs why
I write 23456-8. I just wonder.. is it supposed to work like that ?
I remember that I sometimes had problems with the WSPilots Servers who have 3 different Servers
one each of those ports running (23456-8). Sometimes there happend things like seeing users
from another server in the chat list. Or I appeard on 2 servers at once. This didnīt happend often
but I experienced it several times.

cheers,

sam



« Last Edit: January 06, 2013, 09:57:55 AM by Russell Gilbert »
Logged

Russell Gilbert

  • Administrator
  • Guru
  • *****
  • Offline Offline
  • Posts: 1374
    • FSHost
Re: List of ports to be openend for FS2002, 2004 and FSX User
« Reply #1 on: December 07, 2006, 08:21:49 AM »

Hi Sam,

Ok, here's the full list:

FS2002:
TCP 47624
UDP 2300 to 2400

FS2004 and FSX:
UDP 23456 (or your "2004 host port" on Server / Options / Session tab)
UDP 6073
UDP 2302 to 2400 (not necessary if also forwarding 2300 to 2400 for FS2002)

Remote (web) Access, and for FSHostSpy to be able to find your session:
TCP 80 (or your Remote Access port on Server / Options / Remote Access tab)

FSNavigator:
UDP 23432

Actually though, I don't believe the FSNavigator port is actually needed, but it probably won't hurt anything.  It generally ends up switching over to the same ports that FS uses.

You asked about using other ports like 23457 and 8, and why you can sometimes connect on those ports as well.  When FS2004 (or FSHostClient for FSX, it works the same as FS2004) connects to a session, it actually tries to connect on two ports: 23456 and the "alternate DirectPlay port" 6073.  If it can't find a session on 23456, it usually finds it on 6073, and the host then replies back from 23456 anyway.  From that point on, they usually switch to 23456, but if all else fails they sometimes switch to a random port in the range of 2302 to 2400.  So let's say you tried connecting on 23457, or even something crazy like 33457.  Since nothing on the host side is listening to that port, the request to that port will be ignored.  But FS2004 still tries the default port 23456 anyway, and it still tries the alternate port 6073 as well.  So it's trying three ports now.  And the host will usually answer on 23456 either way, and they'll settle on that port.  The point I'm making here is that you can actually try on any port you want, because FS2004 will still try 23456 and 6073 in addition to whatever port you pick, and one of those will usually work.  And since nothing on the host side is listening to 23457 or 33457, there's no reason to forward those ports.

You might remember reading in the FSHost help that if you're running both FSHost and FS2004 on the same machine, you have to change FS2004 to search on a different port like 23457, because if you try to search on the default 23456 it won't find the host.  The reason this works is that you can't have two programs using 23456, and also because when it searches on 23457, that port is never answered, but it also searches 23456 (which also isn't answered) and 6073, which is answered, and voila! it all works out.

Now hopefully you understand more about why I said the FSNavigator port probably isn't needed.  Because when it connects to a session, it does it the same way that FS2004 does, and since FSHost doesn't actually do anything with 23432, it'll still work out when FSNavigator tries 6073 and everything switches over to 23456.  Exactly the same way you have to change FS2004 on the same machine as FSHost, to use any port other than 23456 because it's already in use.  And to make things even more unclear, all of this discussion about FSNavigator and 23432 only applies to the FS2004 version of FSNavigator.  The FS2002 version uses the FS2002 ports just like FS2002 does when it's connecting.

And for those not familiar with how to forward ports in your router, try this web site, which has lots of help on all the various types of routers: http://www.portforward.com

Clear as mud?

Russell
« Last Edit: December 07, 2006, 08:25:36 AM by Russell Gilbert »
Logged

-sam-

  • Junior Member
  • **
  • Offline Offline
  • Posts: 15
    • 3D
Re: List of ports to be openend for FS2002, 2004 and FSX User
« Reply #2 on: December 07, 2006, 09:06:13 AM »

thank You very much for this detailed explanation.
this clears a lot !!
Just one questions. Does this mean FS2002 users do not need to open port 23456 ?
Logged

Russell Gilbert

  • Administrator
  • Guru
  • *****
  • Offline Offline
  • Posts: 1374
    • FSHost
Re: List of ports to be openend for FS2002, 2004 and FSX User
« Reply #3 on: December 07, 2006, 09:10:37 AM »

thank You very much for this detailed explanation.
this clears a lot !!
Just one questions. Does this mean FS2002 users do not need to open port 23456 ?

Correct.  That port and 6073 were both added in FS2004.

Russell
Logged
Pages: [1]   Go Up
 

anything