Skip to content

How do I set up and use SimConnect in Prepar3D?

Adam McEnroe
  • 10 min read
  • 512 views

In short

Set up local or networked SimConnect in Prepar3D, install the right runtime, place XML and CFG files correctly, and diagnose connection failures.

In this answer
  1. What does SimConnect do in Prepar3D?
  2. How do I set up a local SimConnect add-on?
  3. Which SimConnect runtime should I install?
  4. Do I need SimConnect.cfg or SimConnect.xml?
  5. How do I configure SimConnect over a network?
  6. Why will P3D SimConnect not connect?

To set up SimConnect in Prepar3D, install the runtime required by the add-on and start local clients after a scenario has loaded; no configuration files are normally needed. For a remote client, configure SimConnect.xml on the Prepar3D PC, SimConnect.cfg on the client PC, and a private-network firewall rule.

What does SimConnect do in Prepar3D?

SimConnect is Prepar3D's communication API for exchanging simulator data and commands with compatible software. Prepar3D acts as the server, while moving maps, flight trackers, weather tools, instructor stations, cockpit displays, hardware interfaces and custom applications act as clients.

A client can read aircraft position and simulator variables, transmit events and commands, control AI traffic and exchange custom data. SimConnect is not Prepar3D multiplayer: it connects software to the simulator but does not create a shared flying session.

Use caseWhat is normally required
External application on the Prepar3D PCA compatible SimConnect runtime; normally no XML or CFG file
Older FSX-era applicationThe specific side-by-side runtime against which it was built
Application on another computerA server XML file, matching client details, the required runtime and private-network firewall access
In-process DLL add-onA module matching the simulator architecture and supported Prepar3D generation
Custom software developmentThe SDK matching the targeted Prepar3D release

Prepar3D has no universal SimConnect Manager, connection-status panel or Options-menu switch. A connection manager mentioned by an add-on belongs to that product and may appear as a separate application, tray utility or settings dialogue.

How do I set up a local SimConnect add-on?

A local external client normally connects automatically after Prepar3D has loaded a scenario.

  1. Check compatibility. Confirm that the application supports your Prepar3D generation. SimConnect offers useful backward compatibility, but that does not make every older add-on compatible with every P3D release.
  2. Run the normal installer. A properly packaged add-on should install or request the SimConnect runtime it needs.
  3. Load a scenario. Start Prepar3D and wait until the aircraft and simulation session are fully active.
  4. Start the client. Select its Prepar3D, P3D or SimConnect option if it provides one.
  5. Check for live data. Look for a connected indication, the loaded aircraft, coordinates or changing flight values. Prepar3D itself has no general client-status window.

Do not create SimConnect.xml or SimConnect.cfg merely to repair a local client. An obsolete CFG profile can make the application attempt a remote connection instead of using the normal local route.

Which SimConnect runtime should I install?

Install the runtime requested by the application, not simply the newest-looking package. Older SimConnect interfaces can exist side by side, so installing a newer runtime does not necessarily satisfy an FSX-era programme built against a particular legacy assembly.

The legitimate SimConnect.msi packages supplied with Prepar3D are normally below:

<Prepar3D installation folder>\redist\Interface\...\SimConnect.msi

The intermediate directory names vary by Prepar3D release and identify different supported interfaces. If the installer appears to be missing, confirm that you are examining the real simulator installation rather than Documents or AppData. Repair Prepar3D or rerun the add-on installer if the official redistributables are absent; our guidance for installing the correct SimConnect runtime explains how to choose the supplied package.

Do not download a loose SimConnect.dll. Copying an arbitrary DLL beside Prepar3D.exe, beside unrelated applications or into a Windows system directory can introduce the wrong interface version or processor architecture while omitting the manifests and side-by-side components installed by the MSI.

The full SDK is not an end-user connection fix. Developers should install the SDK matching their target Prepar3D release and build against its documented libraries, headers or managed assemblies. Once connected, an application works with simulator variables, data definitions, requests and events; our explanation of Prepar3D SimVars and events covers that application-level work.

Does a 32-bit add-on work with 64-bit Prepar3D?

A 32-bit external application can communicate with a 64-bit Prepar3D release because it runs as a separate process. It still needs its compatible client runtime, but its architecture does not have to match the simulator process.

An in-process DLL is different because Prepar3D loads it directly. Prepar3D v4 and later cannot load a 32-bit DLL, and installing another legacy SimConnect runtime will not convert an incompatible module.

Do I need SimConnect.cfg or SimConnect.xml?

Local clients normally need neither file; conventional network clients may need both. SimConnect.xml defines the server listener on the Prepar3D PC, while SimConnect.cfg tells a remote client which computer and port to contact.

  • SimConnect.xml may be absent until a network listener or particular add-on creates it.
  • SimConnect.cfg is commonly absent for local use and belongs on the computer running the client that needs it.
  • SimConnect.msi is stored under redist\Interface, not normally beside Prepar3D.exe.
  • A loose SimConnect.dll beside an application does not prove that its required runtime is correctly installed.

Some remote applications provide host and port boxes, create the CFG themselves or use a bridge service. Use the method specified by the add-on; combining its connection manager with an unrelated CFG file can send it to the wrong address or port.

How do I configure SimConnect over a network?

A networked SimConnect connection needs matching IPv4 and TCP port settings on both computers, plus an inbound firewall rule on the Prepar3D PC. This arrangement is commonly used for remote instruments and hardware; our Prepar3D home-cockpit configuration guidance explains how it fits into a wider multi-PC setup.

Where does SimConnect.xml go?

SimConnect.xml belongs in the active Prepar3D release's roaming profile, not the simulator installation or Documents folder:

%APPDATA%\Lockheed Martin\Prepar3D vX\SimConnect.xml

Replace vX with the installed major version; do not type vX literally. Enter %APPDATA% in File Explorer while signed in to the same Windows account that runs Prepar3D. Separate Prepar3D releases and Windows accounts have separate profiles.

If you are unsure which profile is active, inspect the product version of the running Prepar3D.exe or use Task Manager's Open file location command. The corresponding profile should also contain Prepar3D.cfg; its modification time after closing the simulator is a useful check that you found the live folder.

What should the network configuration contain?

The following example binds the listener to the Prepar3D PC's private address 192.168.1.50 and uses TCP port 50100. Replace both values where necessary rather than copying the example unchanged.

<?xml version="1.0" encoding="Windows-1252"?><SimBase.Document Type="SimConnect" version="1,0"><Descr>SimConnect</Descr><Filename>SimConnect.xml</Filename><Disabled>False</Disabled><SimConnect.Comm><Disabled>False</Disabled><Protocol>IPv4</Protocol><Scope>global</Scope><Address>192.168.1.50</Address><Port>50100</Port></SimConnect.Comm></SimBase.Document>

Save it as plain text with the exact filename SimConnect.xml, not SimConnect.xml.txt. If a file already exists, back it up and add or edit the SimConnect.Comm block inside its existing SimBase.Document root. Do not add a second XML declaration, create another root or overwrite entries installed for other add-ons.

On the remote computer, place SimConnect.cfg where the client application reads it. Beside the client executable is common, but some programmes use Documents, their own data directory or an internal connection dialogue.

[SimConnect]

Protocol=IPv4

Address=192.168.1.50

Port=50100

The CFG address is the private IPv4 address of the Prepar3D PC, not the client computer, a public internet address, 127.0.0.1 or localhost. The protocol and port must match the server XML exactly.

How do I start and secure the connection?

Keep SimConnect networking restricted to a trusted private LAN and give the Prepar3D computer a stable address.

  1. Find the simulator PC's address. Run ipconfig there and identify the private IPv4 address of the Ethernet or Wi-Fi adapter shared with the client.
  2. Reserve that address. A router DHCP reservation prevents the XML and CFG settings becoming invalid after a restart.
  3. Choose an unused TCP port. The example uses 50100. A high port number is not inherently private, so firewall scope still matters.
  4. Install the required runtime remotely. The client computer may need a legacy SimConnect redistributable even though Prepar3D is not installed there.
  5. Add the firewall rule. On the Prepar3D PC, allow inbound TCP traffic for the selected port or the correct Prepar3D.exe, restricted to the Windows Private profile or local subnet. Allow the client application outbound if that computer uses restrictive outbound rules.
  6. Restart Prepar3D. The simulator reads SimConnect.xml during start-up. Load a scenario completely before launching the remote client.
  7. Keep the port off the internet. Do not configure router port forwarding or leave an unnecessarily broad Public-profile firewall rule enabled.

Why will P3D SimConnect not connect?

Most P3D SimConnect failures are caused by the wrong profile folder, malformed XML, mismatched addresses or ports, a misplaced CFG, the wrong firewall profile or a missing legacy runtime.

  1. Load an actual scenario. Blank data while Prepar3D is still at its scenario screen does not prove that SimConnect is broken.
  2. Check the profile and filenames. Enable file-name extensions and confirm that the files are exactly SimConnect.xml and SimConnect.cfg, not names ending in .txt.
  3. Validate the XML. It must have one XML declaration, one SimBase.Document root, correctly nested closing tags and ordinary straight quotation marks rather than typographic quotes inserted by a word processor. Both relevant Disabled values should be False.
  4. Compare every connection value. The files must use the same protocol and TCP port. The address must be the Prepar3D PC's present private IPv4 address. Use the numeric address while diagnosing because a hostname can resolve through the wrong adapter.
  5. Restart after XML changes. Editing the server file while Prepar3D is running does not reliably reconfigure the active listener.
  6. Confirm that Prepar3D is listening. With the simulator running, enter netstat -ano | findstr :50100 in Command Prompt, substituting your port. A LISTENING result should use the Prepar3D process ID. No listener usually means the XML is malformed, in the wrong profile or bound to an address the PC no longer owns.
  7. Test from the client PC. Run Test-NetConnection 192.168.1.50 -Port 50100 in PowerShell with your real address and port. If TcpTestSucceeded is false, investigate the listener, route, address and firewall rather than the add-on's data settings.
  8. Check the Windows network profile. A firewall rule limited to Private networks will not apply while Windows classifies that LAN as Public. Correct the profile or rule instead of permanently disabling the firewall.
  9. Remove adapter ambiguity. VPNs, virtual-machine adapters and unused Wi-Fi or Ethernet links can direct traffic along the wrong route. Bind the listener to the shared LAN adapter and temporarily disconnect irrelevant adapters while testing.
  10. Check CFG discovery and compatibility. If TCP succeeds but the client still fails, confirm where that programme reads SimConnect.cfg, install its requested runtime and verify support for the Prepar3D release. A missing assembly, side-by-side configuration error or immediate exit usually indicates a runtime problem rather than an XML fault.
  11. Match privilege levels. Run Prepar3D and the client normally where possible. If one is elevated and the other is not, close both and retry them at the same privilege level.

An ESTABLISHED entry in netstat involving the client's private address proves that TCP reached Prepar3D. If the connection exists but no flight data appears, concentrate on the client's runtime, CFG location, version compatibility and requirement for a fully loaded scenario.

AI Assistant New

Still stuck? Ask Fly Away

Ask Fly Away is our AI flight-sim assistant. Ask your exact question and get a direct, step-by-step answer in seconds — free to try.

Ask Fly Away Free preview · unlimited for PRO members