• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX Simconnect, no connection

Messages
3
Country
unitedkingdom
If this is in the wrong place my apologies.

I cannot get Simconnect to connect. When using the AI test the command window opens for a second or so then closes.

I have 2 PCs on my LAN connected via a Belkin router, one PC has Windows firewall and the other has PCtools firewall.

AFAIK I have installed and set up Simconnect correctly, in fact I have the Simconnect tools showing in FSX menu bar.

I think the problem may be that ports are not open so initially would like advice on how to test if ports are open. The port in question would be 6811 for Squwakbox.

I have tried netstat -a and neither PC lists port 6811.

Any help would be greatly appreciated and if you need any more information just ask.

I have spent quite a while searching the Net for help and have posted in the SB forum but help from there yet.

TIA

Dave

EDIT: I have just checked the SDK installation (FSX) Wiki and note that the version numbers are not the same as on my PC running FSX Acceleration.

In c:\windows\WinSxS I have the following SimConnect.dll versions, can someone confirm, or otherwise, these version numbers please?

10.0.60905.0
10.0.61242.0
10.0.61259.0
 
Last edited:
AFAIK, local SimConnect clients under SP1 onwards aren't using TCP/IP, so ports aren't likely to be the issue.

Have you stepped through it with a debugger to see where it's failing? If it makes it past the SimConnect_Open() and into the {} block then there's nothing wrong with it loading the simconnect.dll and connecting to the sim's server, so it's likely a coding problem within the example. FWIW, some of those examples barely work, notably those which test for the Sim Start event before initialising themselves.

Si

Edit: Just re-read your post and noticed the bit about two PCs and a router. I'd suggest compiling in release mode and trying it on the local (to FSX) PC as a first step.
 
Thanks for the reply Si but talk of using a debugger is beyond me, just an 'end user' trying to get Simconnect working with a 2nd computer.

I am trying to get Squwakbox on the client PC to connect to FSX on the server PC.
Looking at their install instructions the first thing to do is make sure Simconnect is working correctly by running the AITraffic.exe in the SDK on the client PC. What should happen is that a command window opens and shows a connection to FSX, that is not happening.
Also the install instructions set out the entries for the simconnect.xml, & cfg files which do show specific port entries.

Since posting I have discovered that the simconnect.dll versions are correct, the versions I quoted were the folder versions in Winsxs.
I have generated a simconnect.log file on the server PC but have no idea how much is relevant or how to read it!
 
Back
Top