Chocolate Software Forums

FSHost and FSHostSpy => Networks => Topic started by: Russell Gilbert on November 21, 2007, 12:16:11 PM

Title: FSPortTest (use this tool to check your network)
Post by: Russell Gilbert on November 21, 2007, 12:16:11 PM
Hi guys,

There's been a lot of discussion over the years about a network testing tool (for example, here (http://www.chocolatesoftware.com/forum/index.php?topic=169) and here (http://www.chocolatesoftware.com/forum/index.php?topic=237)).  I had an idea today about a really simple way of testing your network.  Instead of trying to mimic all the DirectPlay craziness, I decided that the main problem most people have is just getting their ports forwarded correctly in their firewall or router, so the other players in the session can connect back to them.  So I made a little program that just checks your port forwarding.

Here's how it works...

It has a list of ports that it tests by default:  UDP 23456, 6073, and 2300-2400.  These cover FS2002, FS2004, and FSHostClient (for FSX).  There are a couple more ports that need to be forwarded if you're hosting a session (TCP 47624 for FS2002, and TCP 80 for the Master Server and FSHostSpy), but the FS2002 port is really just for outgoing data so it's usually not a problem with routers, and FSHost itself will tell you if you don't have TCP 80 forwarded correctly.

For each port, it connects to a little CGI program on my server and asks it to send back a UDP test message to that port.  It then listens on that port for the message, and if it gets it, it marks that port as OK.  If it doesn't, it times out after 3 seconds and marks it as an error.

You can also add other ports you want to test.  For example, if you're running FSHost with the FS2004 session on port 23457 (instead of the default 23456), you can tell the program to test 23457 as well.  It'll still test 23456 also, but you can ignore the error message it produces in that case.

So... here's the program:

http://www.chocolatesoftware.com/fshost/FSPortTest_1.6.exe (Updated to version 1.6 on May 17, 2012)

First, if you have FS2002 or FS2004 running and you're connected to a server, disconnect from it (but you can leave the program running).  If you have FSHost running, stop the game servers (under the Server menu).  Then save the program above somewhere on your machine, and double-click it to run it.  It'll test all the normal ports and tell you if there are any errors.  If it reports an error for a port, then it means that the outside world is not able to send data to you on that port, and you need to check your firewall and/or router again.

If you want to add additional ports for it to test, open a Command Prompt window (Start / Programs / Accessories / Command Prompt), change to the directory where you saved the program, and then run it with the additional ports added to the command line, separated by spaces.  For example, to test 23455 and 23457 in addition to the normal ports, you'd run this:

FSPortTest.exe 23455 23457

And here's the full list of ports again, just for reference:

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)

If you need help with forwarding ports in your particular router, you might take a look at www.portforward.com.  Select your router from the list, then click the link in the upper right corner to "skip this advertisement" (you don't need to buy anything), and then select one of the "Flight Simulator" versions.  The instructions there only tell you to forward one or two ports, but be sure to follow the same steps to forward all of the ports listed above, depending on which version of Flight Simulator you're using.

Let me know if you try out the program above!

Russell
Title: Re: Network test tool - check your network setup
Post by: jdude on November 22, 2007, 09:03:25 AM
Well, I can confirm this works.  ;D

At least now I know port 6073 is the issue.
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: G_CHAS on November 24, 2007, 01:30:51 AM
hello Russell how you doing matey! 8)

my FIRST results of the Network test tool

2nd test Port 2352....Error, timed out waiting for response ???

3rd test Port 2393....Error -1 requesting URL: http://www.chocolatesoftware.com/cgi-bin/udpsend.cgi?2393 The operation timed out  ::)

4th test port 2390....Error -1 requesting URL: http://www.chocolatesoftware.com/cgi-bin/udpsend.cgi?2393 The operation timed out   :-\

5th test    PERFECT no timeouts   ;D

Press any key to continue?

When I follow the command `Press any key to continue` the  program just dissappears. and i thought something else was about to happen. Maybe a text change to "Test Complete......press any key to end the test" would suffice as I went looking for the window!! and no doubt I`ll not be the only one who will run more than one test expecting to see what happens next?

As ports 2300-2400 are forwarded, the random timeouts  will be glitches due to computer-internet technology and nothing more, just like an adsl speed connection test?

Again Russell, another program that the PC community will thank you for  :-*
Take care, Best wishes to you and yours
Merry Xmas too!

Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: wheelie on November 24, 2007, 02:18:48 AM
Hi Russell,

Brilliant tool. I thought everything was OK till I ran this and found out I had screwed up a few ports  :-[ (like incoming 2317 being forwarded to 2371 - typing problem - and others using tcp and not udp).

Could you do ports 23450 to 23455 as part of the default list?

Would be nice to see the IP address too. One server I connect to always claims that my IP address is 10.0.0.50 - I don't where it gets that address from.

Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: hawkflyers.com on November 24, 2007, 04:47:22 AM
well i finnaly got ppl off the server for just enough time to test it out
2318 hung it up a few times for some reason but then it went thru the test and FSHF.HOPTO.ORG pass with flying colors



We here at HAWKFLYERS thank you for all your time and effort
and for all your sim ploits just to let you know if you cant  find a server to fly on we are here and open 24/7
air shows most every week end and theres a big ong one commin in december
if you want more info go here

http://hawkflyers.com/events.html

if you would like to just come watch thats fine we ask that u use the Padude

Once again Russll thank you for you time and effort and all that you put into it
if it wasnt for you we would be fling with AI lol
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on November 24, 2007, 07:12:54 AM
Hi guys, thanks for the feedback.

I increased the timeouts a bit to hopefully get rid of a few of the "requesting URL" timeout errors (that's the part where it's asking the server to send back a message to the port) and changed several of the messages to be a bit more helpful, including the "press any key" message, and added new summary messages at the end.

Wheelie: I think it's best not to add any more ports to the default list because they'd just time out and produce errors for most people.  But you can easily add them to your own list using the instructions in my original post.  Or if you find yourself wanting to test your machine on a regular basis, you can create a shortcut to the program that will always test whatever ports you want.  Here's how...  Open an Explorer window to the directory where you saved the program, right-click the file and select Copy, right-click in a blank area of the same directory and select "Paste Shortcut", then right-click on the new shortcut you just made and select Properties, then in the "Target" box, add a space after the program name, followed by all the extra ports you want to test, with a space between each one.  For example, "C:\FSPortTest.exe 23450 23451 23452".  Then you can rename the shortcut to something like "My FSPortTest", and whenever you run it, it'll test the additional ports as well.  Also, you asked about your IP address...  The 10.0.0.50 IP address is a fake one that you normally see only on your local network -- like 192.168.x.x, for example.  I don't know why they're seeing that on the server, but I've seen it happen before, so it's probably nothing to worry about.  FSHost reports your IP address when it first starts up, since you'll need to give it to other people so they can connect to you, but people don't usually need it if they're just connecting to someone else's session.  You can always go to www.whatismyip.com though, if you want to check it.

Thanks guys, and I'm still interested in hearing reports from anyone else that tries it.  I'm thinking that if this continues to be useful, it might be something that could be incorporated into FSHost and FSHostClient so you could run it directly from inside those programs.  Then FS2002 and FS2004 users could still download the separate program to test their networks as well.

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on November 24, 2007, 08:15:02 AM
I've had a couple of emails from people asking why the tests fail on their machine even though FS2004 and/or FSX seem to be working ok.

I've seen that happen before.  What's happening is that FS is connecting to the server on 23456, and since the router sees the connection initially being made from inside your LAN, it allows the connection out and then also automatically forwards data coming back in on that port to the same machine that requested it.  This is why you don't have to forward every port your machine connects out on -- because the router sees the outgoing request and then allows data to come back in on the same port without a forwarding rule.  And you can even have multiple machines going out on the same port, and your router is smart enough to automatically forward the return data back to the right machine.

However, sometimes FS will end up switching off of the 23456 port and onto the "alternate" ports, which are 6073 and a sorta-random port in the 2300-2400 range (typically the lower numbered ports in that range).  It only does it in certain situations, but when it does, data will be coming back into those ports and the router will have never seen any data going out on them, so it won't know how to forward them to the right machine.  So those ports have to be explicitly forwarded to the FS machine.  This can also happen when you have FS and FSHost on the same machine and you're connecting to your own session, because in that case you have to tell FS to use some port other than 23456 (since it's already being used by FSHost), and then FS will switch to the alternate ports.

Back in FS2002, it always used a port in the 2300-2400 range, and it caused lots of problems for people that didn't know how to setup their networks to allow the incoming data on a random port.  So when Microsoft released FS2004, they changed it so it would always try to use one standard port, which was 23456.  But they left the random port stuff in there as well, for the cases where it wasn't able to use 23456.  FSHostClient (for FSX) uses the FS2004 method of connecting to the session, so it behaves the same as FS2004 in that case.

So you can usually get away with just using 23456 with FS2004 and FSX.  But you should be aware that your setup is not optimal (networking-wise, anyway), and there's a slight chance that it could cause problems for other people in the session.  For that reason, it's always best if you can setup your firewall or router to forward the correct ports to the FS machine, and then you'll be sure that everything's ok.

Unfortunately if you have FSHost and FS on different machines in your local network, there's no good way to solve the problem because you can't explicitly forward a port to more than one machine.  If you can run both on the same machine, it's always better because you can forward all the ports to just one machine (and usually FSHost doesn't cause problems for FS).  Otherwise I'd suggest forwarding all the ports to the FSHost machine, and then just rely on port 23456 for the FS machine, since your router will do the automatic routing when it sees the outgoing connection from that machine.

Hope that helps explain it a bit... It's a bit of a mess, this whole thing with how FS uses ports.

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: tuscan17 on December 01, 2007, 03:59:06 PM
Hello Russel!

Well... I have been trying to have FSHost running on my XP PC but... can't solve the connection problem to master server.

I have read that XP user should disable the firewall because no solution have been found. So I did but...nothing good.
I still get the error

071201 23:52:50  Master Server registration aborted. The Master Server attempted to verify your server by requesting a web page from it, but was not able to connect to your IP address (81.208.83.216) on port 80. If you have a router or firewall, please change it to allow port 80 to be forwarded to your machine. For help, see the FAQ page under the Help menu. Also, please verify your IP address on the Options / Master Server window. FSHostSpy will not be able to show your server.

I also tried to change the port from 80 to 81 in the FSHost Options/Remote Access  --- useless!

SO I tried to run your network test tool but, all the ports have been reported with an error.

Can u help me?

Monday I'll send you a postcard from Florence (Italy)

Thanks bro!
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on December 13, 2007, 10:41:56 PM
Hi tuscan,

Are you using a router?  If so, have you forwarded all the correct ports for FS?

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: tuscan17 on December 14, 2007, 09:26:18 AM
Hello!

I found out that the problem is on my ISP (fastweb) side because they assign a shared external IP to many of their users. Also, the router they gave me is not configurable. It'a an italian mafia s***!

Fastweb seems to be the only italian ISP that't using this IP sharing policy to prevent users from sharing files P2P

Gabriele
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: mark786 on January 15, 2008, 07:58:05 PM
When I run FSHost I am unable to register with the Master Server. I get this message -

080115 21:51:29  Master Server registration aborted. The Master Server attempted to verify your server by requesting a web page from it, but was not able to connect to your IP address (71.55.89.159) on port 81. If you have a router or firewall, please change it to allow port 81 to be forwarded to your machine. For help, see the FAQ page under the Help menu. Also, please verify your IP address on the Options / Master Server window. FSHostSpy will not be able to show your server.

These are the results of the FS PortTest -

FSPortTest version 1.4

Testing ports for FS2002, FS2004, and FSHostClient for FSX...

Port 23456... Error: timed out waiting for response
Port  6073... Error: timed out waiting for response
Port  2300... Error: timed out waiting for response
Port  2301... Error: timed out waiting for response
Error binding to port 2302. Are you running FS or FSHost?
Please disconnect FS2002 and FS2004 from multiplayer sessions,
and/or stop the game servers in FSHost.

Testing complete.

Some ports are not receiving data correctly. (scroll up to see the results)
Please check your firewall and/or router settings.
UDP ports 23456, 6073, & 2300-2400 should be forwarded to the PC's internal IP.
Please see www.portforward.com for help with your router.

I have all the ports correctly forwarded in my router settings.
Any suggestions?
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on January 16, 2008, 06:37:24 AM
Hi Mark,

It sounds like something's definitely still not right with your network setup, because nothing from the outside is making it back to your PC.  Maybe you can post details about your router, modem, firewall, internal IP address, ports you've forwarded, and anything else you can think of that's related to your network?

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: mark786 on January 16, 2008, 07:37:26 PM
Hi Russell,

I am using a Linksys WRT54GS router, Embarq EQ-660R ADSL modem, Firewall is Windows Live OneCare which is set to allow FSHost, internal IP address is 192.168.1.1 and potrs forwarded are 23456, 81, 6073 and 2300-2400.
I tried turning Firewall off but that didn't help. I can connect to others with FSHost Client.

Thanks, Mark
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on January 17, 2008, 07:03:42 AM
Hi Mark,

Ok, a couple of things...  First, you said your PC's internal IP address is 192.168.1.1.  Are you sure about that, because that IP is typically the default for most routers, including the one you have.  If you go to Start / Programs / Accessories / Command Prompt, and type "ipconfig", you can see your machine's internal IP address.

Also, there's more info about your router on this web site, including a checkbox called "Block Anonymous Internet Requests", which it says to clear:

http://www.portforward.com/english/routers/port_forwarding/Linksys/WRT54GS/Flight_Simulator_2004.htm

One thing though, that site only mentions ports 23456 and 6073, but you need to forward all the ones you mentioned.  They should all be protocol UDP except 81, which should be TCP (or you can set them all to "Both").

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: mark786 on January 17, 2008, 08:49:43 AM
Russell,

Correction, ip address is 192.168.1.100
All my router settings agree with www.portforward.com
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on January 17, 2008, 08:58:01 AM
Hi Mark,

Based on some quick searches around the web, it looks like your modem has a firewall in it.  You might try disabling it to see if that helps -- or if you have another way of connecting to the internet, that would be a good test also, to see if it's related to your modem.

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: mark786 on January 17, 2008, 06:53:44 PM
Thanks Russell,

That sounds like it could be my problem. I'll do some investigating.
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: mark786 on January 17, 2008, 07:11:21 PM
Russell,

Disabling the modem firewall did not help. I then changed the modem from routing mode to bridge mode and that worked for FSHost but I am unable to connect to the internet in bridge mode.
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on January 17, 2008, 07:18:30 PM
Ok, when you say you put the modem in bridge mode and that worked for FSHost, what do you mean exactly?

Also, maybe there's a way to explicitly forward ports in the modem as well?

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: mark786 on January 18, 2008, 11:54:32 AM
Russell,

There was a section for port forwarding (NAT) in my modem. Once I took care of that, everything worked fine!
Thanks for all your help.

Mark
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: fjfisher on March 30, 2008, 02:03:55 PM
Russell

Thanks for your excellent tool, also FSHost and FSHostClient.

I have just changed ISP due to house move, which meant a new ADSL modem router( I was using a cable, but sadly not here.

The problem I am having, is that I cannot get 6073 recognized(error timeout) despite correctly forwarding the ports and assigning them to my main machine, (after many hours of finding out how to do it. Compared to my cable Lynksys, it is not easy to work through).

All the other ports set are OK, except for 6073. Would this be a reason why I can only connect to an FSHost session, if no-one else is on, and when on, blocking anyone else from joining??

I have disabled my machine firewall, tried disabling the router firewall(but not DMZ).

I have also installed FSHost on my laptop, and assigned that to my router, and can join that from my main machine, as long as no-one else is in.

A possible answer, as a long shot, is something in my machine setup, I am not looking forward to a reformat!!

So why I cannot get the green light on 6073 from your port test tool, is driving me crazy.

The answer is probably buried in your disabled forums.

Frank
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on April 12, 2008, 08:05:05 AM
Hi Frank, sorry for the delay.

If your machine isn't able to receive incoming data on port 6073 it could definitely have something to do with your connection problems.

Are you able to run FSHost and start an FS2004/FSX session on the main machine?

Also, you mentioned you had a laptop.  Is FSPortTest able to receive data on port 6073 on that machine?  I'm trying to figure out if it's a problem on the main machine that's somehow blocking that port, or if it's a problem with any machine on your network, because maybe it's being blocked by your router or modem.

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: wbunn on May 29, 2008, 01:18:32 PM
Russell,

Thanks for the great porttest utility.  I've been working for months attempting to get a friends computer to host a Flight Simulator or FSHost multiplayer session ... no one can connect to him but he can connect to other sessions. I'm going to have him run this test to help find the problem. The testport program works fine on my Vista computer with a LinkSys Router now except for a timeout error for port 6073. I can connect to the FSHost master server ok and can host or join other Flight Simulator Multiplayer sessions.   Should I be concerned about the timeout error on port 6073?

Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Bob_8712E on November 17, 2008, 07:38:49 PM
The Router IP depends on the Router.
D-Link is 192.168.0.1 and Linksys is 192.168.1.1. If multiple routers are used they can be set to different IP's
Normally 192.168.x.100 is the beginning if the IP list of computers on the network.
    Hope this helps.
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: JayBee on June 10, 2009, 05:31:44 AM
I have just installed FS Host Client so that I could multiplayer connect to a friend's server and join him, and others.
I have run the FSportTest.exe file and everything is OK.
If I am the first one to connect, I can connect OK.
If anybody else joins - I am disconnected
If I try to connect after others have connected, i see the hour glass symbol and after about a minute, it all 'times out'
I have read through the FAQs and did not see anything quite like this.

Can anybody help please?

John
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on June 30, 2009, 03:44:31 PM
I have just installed FS Host Client so that I could multiplayer connect to a friend's server and join him, and others.
I have run the FSportTest.exe file and everything is OK.
If I am the first one to connect, I can connect OK.
If anybody else joins - I am disconnected
If I try to connect after others have connected, i see the hour glass symbol and after about a minute, it all 'times out'
I have read through the FAQs and did not see anything quite like this.

Can anybody help please?

John

These types of problems are always related to network connections.  If FSPortTest.exe is reporting that all ports are open on your machine, then it's probably something with the FSHost machine, or the other people joining.  FSPortTest can be run on those machines also, to help you find the problem.

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: MedallioN on March 25, 2010, 07:34:10 PM
Hi when i do a port test im getting errror timed out everywhere.
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on March 28, 2010, 10:48:51 AM
Hi when i do a port test im getting errror timed out everywhere.

Sounds like you haven't forwarded the Flight Simulator ports in your router.  See the first post in this thread for help with that -- especially the bottom part of that first post where it talks about ports.

Thanks,
Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Ali Matt on May 02, 2010, 09:54:59 AM
Hi Russell,

 I got your FS Port Test program, ran it and got some unusual results.  It began by saying ' testing ports for FS2002, FS2004, and FSHost Client for FSX...' then it began testing.  It tested all ports between 2300 to 2400, and ports 23456 and 6073.  And EVERY single one of them had at the end of it ' Error: timed out waiting for response'.

After it had done that, it said testing complete and that some ports aren't receiving data properly and I had to check my firewall and router settings.  And that i could press any key to exit.  Now, I only want to try and resolve an issue me and my friend are having with Flight Sim 2004. And that is, no matter the server, if he enters it, I can't get on it, if I enter it, HE can't get on it.  It happens regardless of the server, and the amount of people on the server.  We really want to get onto the same server and just fly, and if I'm honest, I'm getting quite desperate now.

 Thanks in advance,
 Ali
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on May 02, 2010, 10:35:51 AM
some ports aren't receiving data properly and I had to check my firewall and router settings.

Hi Ali,

Did you check your firewall and router settings?  ;)

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: GeorgeH on June 08, 2010, 10:29:34 PM
Hi Russell. You've probably covered this but I missed it.
My problem:

I've set up FSHost and tested port forwarding using FSPortTest. All ports test fine.

I can connect to FSHost with FS2004 running on the same machine using port 23455, however when a friend tries to join FSHost on port 23456 after I have, FSHost says he has joined but is "not in aircraft". His FS2004 hangs for over a minute and then FSHost reports a disconnect.

Conversely, he can connect properly if he goes first but when I try and join with FS2004, it hangs and FSHost displays the 'not in aircraft' message followed by a disconnect.

We've both joined other FSHost servers and not had any problems but I don't know if the host was using FS at the same time or not.

Thanks for any insight you can provide,
GeorgeH
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Collegeroad on October 20, 2010, 12:44:54 PM
Hi Dave,
 I have 4 pilots online and I connect no problems the other pilot cannot, if I come out he connects okay I cant, I have port forwarding on my router done by simple port forwarding pro and also on my firewall, any other ideas ? I have tried FSPort test and it fails even though I've allowed the ports
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: STR0001 on January 31, 2011, 11:41:45 AM
Hi Russell.

I know this post is really old, but I just wanted to thank you for keeping this link alive to this little script. It has helped out so many times. I think it is great and will continue to use it as long as there is an online session going on somewhere.

Thank you very much!

Ray

Oh and P.S.  I owe you a post card! I have used your products for many trouble free years in the heart of Illinois.
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: huvalent on November 26, 2012, 12:16:30 PM
HI Russell
I've done everything I know but without sucess.
1srt I've installed FSHost client 1.2
2nd, I've installed FsHos 3.2
3ird,I openned the Windows firewall an add port 80 (TCP) do allow other plaers acess my IP
4th, on FShost 3.2. I've done all the changes asked to be done in the sections "remote access" and "master server"
When I thought everything was OK and tried to enter in the IP, the program says there aren't  :-\
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on December 07, 2012, 07:59:17 PM
huvalent,

You're on the right track, but you need to open several more ports -- not just 80.  TCP port 80 is so that people can connect to your FSHost in a browser, and also so that your FSHost can be listed in FSHostSpy.  But you need to forward all the game ports as well.  They're all listed at the beginning of this forum thread, where you can download FSPortTest to test all your port forwards: http://www.chocolatesoftware.com/forum/index.php?topic=737.0

Russell
Title: Re: Sticky: FSPortTest - network test tool - check your network setup
Post by: Russell Gilbert on January 02, 2013, 05:47:34 AM
I split the messages with Air SeaTac that were here off to a new topic, just to make them a bit easier to find in case someone's having similar problems.

The new link to this topic is here:

FSPortTest, port 6073, and dpnsvr.exe (http://www.chocolatesoftware.com/forum/index.php?topic=1209.0)

Thanks,
Russell
Title: Re: FSPortTest (use this tool to check your network)
Post by: tray.geboy1 on November 19, 2015, 09:10:30 AM
Hello l am trying to start a server. I got all of the port forwarding correct (I think). I am using FSHost and FSHostClient. I am using FSX Steam Edition and like I said before I am trying to start a server. I made all of the things for the Master Server and it said registered with Master Server. So then I tried it with FSHostClient and I could connect. Now all I need to do is link FSHost with FSX. So my question is how?

Thanks,
Trey
Title: Re: FSPortTest (use this tool to check your network)
Post by: Russell Gilbert on November 19, 2015, 02:16:48 PM
...Now all I need to do is link FSHost with FSX. So my question is how?

Hi,

There are three programs involved, so let me explain each one just so we're sure we're on the same page as far as how they work.

FSHost is the multiplayer server. You can connect FS2002 and FS2004 directly to an FSHost server using the multiplayer features built into those flight simulator versions.

FSX isn't able to connect directly to an FSHost server, so you use FSHostClient to act as an interface between FSX and FSHost. FSHostClient talks to FSX through Microsoft's Simconnect system, as long as both FSHostClient and FSX are on the same machine. FSHostClient then also talks to an FSHost server using the multiplayer system that was originally in FS2002 and FS2004.

FSX: Steam Edition is similar to FSX, and FSHostClient supports it the same way.

So to connect to an FSHost session, start FSX or FSX:SE, and also start FSHostClient (doesn't matter which one is started first) and then use the Multiplayer menu in FSHostClient to connect to an FSHost server. Once that's done, FSHostClient passes information back and forth between FSX and FSHost, and you should be able to see other players inside your FSX (and they'll see you).

If you're also running your own FSHost server, it's best to run it on the same machine as the other programs. This is because when you setup the port forwarding in your router, you can only forward ports to one machine on your local network, and both FSHost and FSHostClient need access to the data. So run FSHost, FSX (or FSX:SE), and FSHostClient all on the same PC.

FSHostSpy is another program I wrote. You can use it to see a list of all FSHost servers currently running, and then get the server's IP address so you can connect to it using FS2002, FS2004, or FSHostClient (for FSX and FSX:SE).

Let me know if you need more help.

Thanks,
Russell
Title: Re: FSPortTest (use this tool to check your network)
Post by: tray.geboy1 on November 19, 2015, 03:57:17 PM
There are three programs involved, so let me explain each one just so we're sure we're on the same page as far as how they work.

Thanks I think that should do it but could you do me a favor and just try it out for me? I have no one that is on right now to try it out for me. If so that would be great.
Title: Re: FSPortTest (use this tool to check your network)
Post by: Russell Gilbert on November 19, 2015, 04:07:32 PM
Sure, just start your FSHost server and post your IP address (which it will tell you when it starts), and then post it here in a reply so someone can try it.

Thanks,
Russell
Title: Re: FSPortTest (use this tool to check your network)
Post by: tray.geboy1 on November 19, 2015, 04:08:49 PM
24.107.162.241
Title: Re: FSPortTest (use this tool to check your network)
Post by: Russell Gilbert on November 19, 2015, 04:13:13 PM
Yep, I logged in with FSHostClient and everything looked good. I see that you're registered ok on the Master Server as well, so people should be able to find your session in FSHostSpy.

Thanks,
Russell
Title: Re: FSPortTest (use this tool to check your network)
Post by: tray.geboy1 on November 19, 2015, 04:14:34 PM
OK thanks now how can we fly together. Thanks for the help all day.
Title: Re: FSPortTest (use this tool to check your network)
Post by: Russell Gilbert on November 19, 2015, 04:19:03 PM
I'm not connected anymore, but when you get someone else to join, you two can use the chat window to communicate and then move your planes to the same location -- then you should see each other.

Russell
Title: Re: FSPortTest (use this tool to check your network)
Post by: tray.geboy1 on November 19, 2015, 04:23:57 PM
One more question would I have to go to multiplayer area of FSX then create a server there or just go to free flight.
Title: Re: FSPortTest (use this tool to check your network)
Post by: Russell Gilbert on November 20, 2015, 08:38:50 AM
Just use free flight. The multiplayer area in FSX is completely different, and not compatible with FSHost.

Russell
Title: Re: FSPortTest (use this tool to check your network)
Post by: tray.geboy1 on November 20, 2015, 08:44:36 AM
Just use free flight. The multiplayer area in FSX is completely different, and not compatible with FSHost.

Russell

OK as long as they join the fshost client and go to the same airport then we will be able to fly together?
Title: Re: FSPortTest (use this tool to check your network)
Post by: Russell Gilbert on November 20, 2015, 08:50:18 AM
As long as they connect to your FSHost session, either directly with FS2002 or FS2004, or via FSHostClient if they're using FSX, FSX:SE, or Prepar3d, then yes, you should be able to see each other if you're near each other in the sim. Each person in the session needs to setup their port forwarding and test their network using FSPortTest.

Russell
Title: Re: FSPortTest (use this tool to check your network)
Post by: tray.geboy1 on November 20, 2015, 08:51:45 AM
As long as they connect to your FSHost session, either directly with FS2002 or FS2004, or via FSHostClient if they're using FSX, FSX:SE, or Prepar3d, then yes, you should be able to see each other if you're near each other in the sim. Each person in the session needs to setup their port forwarding and test their network using FSPortTest.

Russell
Is there a way they do not have to port forward?
Title: Re: FSPortTest (use this tool to check your network)
Post by: Russell Gilbert on November 20, 2015, 08:52:48 AM
No, sorry. It's part of the way Microsoft Flight Simulator works.

Russell
Title: Re: FSPortTest (use this tool to check your network)
Post by: tray.geboy1 on November 20, 2015, 08:59:13 AM
No, sorry. It's part of the way Microsoft Flight Simulator works.

Russell

OK thanks I will tell them if you would like check out my community website. www.futurepilotsofamerica.weebly.com (http://www.futurepilotsofamerica.weebly.com)