News:

Status: CAVOK

Main Menu

PlanG not connecting to P3D over network

Started by YoungGun, October 07, 2016, 02:43:52 AM

Previous topic - Next topic

YoungGun

Windows 10 laptop with Plan G
SimConnect settings:
IPv4
FSX Computer 192.168.000.004
Server Port 4506

Desktop Windows 7 PC with P3D v3
Simconnect.xml file located in root P3d folder:

<?xml version="1.0" encoding="WINDOWS-1252"?>

-<SimBase.Document version="1,0" Type="SimConnect">

<Descr>SimConnect Server Configuration</Descr>

<Filename>SimConnect.xml</Filename>

<Disabled>False</Disabled>


-<SimConnect.Comm>

<Disabled>False</Disabled>

<Protocol>IPv4</Protocol>

<Scope>Global</Scope>

<MaxClients>64</MaxClients>

<Address>192.168.000.004</Address>

<Port>4506</Port>

</SimConnect.Comm>


-<SimConnect.Comm>

<Disabled>False</Disabled>

<Protocol>Auto</Protocol>

<Scope>global</Scope>

<Address>192.168.000.004</Address>

<MaxClients>64</MaxClients>

<Port>4506</Port>

<MaxRecvSize>4096</MaxRecvSize>

<DisableNagle>False</DisableNagle>

</SimConnect.Comm>

</SimBase.Document>

No firewall installed on either.. windows firewall disabled on both. No 3ed party antivirus installed.

Any ideas? Thanks!

Screwbottle

#1
YoungGun

You need to make a copy of your original SimConnect.xml file then edit it as such. you don't need the rest of what's in the orginal file, hence the backup.

<?xml version="1.0" encoding="Windows-1252"?>

<SimBase.Document Type="SimConnect" version="1,0">
  <Descr>SimConnect Server Configuration</Descr>
  <Filename>SimConnect.xml</Filename>
  <Disabled>False</Disabled>

  <!-- Local IPv4 Server Configuration-->
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>local</Scope>
    <MaxClients>64</MaxClients>
    <MaxRecvSize>4096</MaxRecvSize>
   <DisableNagle>False</DisableNagle>
    <Address></Address>
    <Port>4507</Port>
  </SimConnect.Comm>

  <!-- Global (remote) IPv4 Server Configuration-->
  <SimConnect.Comm>
    <Disabled>False</Disabled>
    <Protocol>IPv4</Protocol>
    <Scope>global</Scope>
    <MaxClients>64</MaxClients>
    <MaxRecvSize>4096</MaxRecvSize>
   <DisableNagle>False</DisableNagle>
   <Address></Address>
    <Port>4507</Port>
  </SimConnect.Comm>

</SimBase.Document>

Do this to the simconnect.xml on both computers. Now you need a tool to connect them together, one side needs a client running, the other needs the server app running. You can start with the free FSHost and FSHost client from the Chocolate Software guys. You would install the FSHost on the laptop and run it, and the FSHost client installed on the desktop and run it. But there are a few tricks to do to both to get them to link the two PC's and SimConnect. Without repeating what's already posted go to this link http://www.chocolatesoftware.com/fshost/ and look for the sticky "Run FSHostClient from second computer? (was: WideFS?)" Instructions are given here to get Simconnect working with this app. Here are also two links of others getting SimConnect to work between two PC's with P3D. The one link refers to FSX, but it's the same way in it's workings for P3D.

http://forums.bvartcc.com/index.php?topic=4950.0
http://www.prepar3d.com/SDKv2/LearningCenter/utilities/simconnect/simconnect.html

Another easier way to setup, although payware and does not need Simconnect, is to purchase Peter Dowson's FSUIPC and WideFS, the WideClient is free. Unfortunately only the paid for version of FSUIPC and WideFS works. You download the free WideClient and install (actually create a folder somewhere on the drive and extract the files into it) it on the laptop. Then run the wideclient.exe found there. It will open a simple empty box, you can grab the edges and shrink it right down to make it unobtrusive. Then on the desktop install FSUIPC and WideFS, this will install into the SIM you are using, in your case P3D.

Start P3D, all the way to the aircraft on the runway. If you window the SIM (Alt + Enter) or it's already in a window mode you will see on the top left of the bar an indication of "WideServer waiting for clients" or if it finds the client "WideServer connected". If connected, which I am sure it will be, you can then run a weather engine like ActiveSky, map program like Plan-G etc, on the laptop. In the settings of these programs, tell it to use FSUIPC as it's remote connection, they will connect and talk to your SIM on the PC, as if on the same drive.

I personally use both the FSHost / client and FSUIPC / WideFS too, so I am familiar in getting them working. I've never bothered with the other methods, mentioned in the two links.

Good luck

Regards
Andrew

YoungGun

Thanks for the feedback.

I went through the steps in setting up FSHost. Got it to connect to each other.. but I do not understand how it works with Plan-G..

You say "simconnect.xml on both computers." Where should the  simconnect.xml file be on my remote laptop with Plan-G running?