News:

Status: CAVOK

Main Menu

Network connection win7 -> XP

Started by Scandi426, October 07, 2010, 02:08:05 AM

Previous topic - Next topic

Scandi426

Hello, just spend the entire night trying to get Plan-G on my XP laptop to connect with FSX on a Win7 PC - via my router.

Both are wired to the router and I've tried numerous and countless suggestions in various posts, -but alas. Im getting a feeling it has something to do with SimConnect.xml. Because after editing this file I assumed FSX/Win7 would prompt me to unblock the protocol in the firewall. But FSX doesn't state anything when loaded...as if nothing is changed.

I have tried the different suggested setups from the manual, tried many IP solutions, checked and double-checked all entries. Same results no matter what protocol I ran - IPv4 or IPv6.

Plan-G log says it times out when trying to connect to the host. It doesnt state any other error. I have enabled IPv6 on my laptop assuming both machines required the same protocol, or is it possible to run different protocols? The host machine (win7) says "No Network Access" at the IPv6 status, is my router perhaps too old? (Its a Jensen Airlink89000)

I know SimConnect works locally on my FSX machine, Ultimate Traffic II is installed and works fine - and I know it uses simconncet. Only it has its own SimConnect.xml stored within the UTII folder. Is this perhaps a problem?

Have I missed out on the page in the manual saying clearly you cannot run across network from different OS' ?  ??? Im all out of luck, - and sleep - jeeeezuz I have to get up in 2 hrs and go to work!


Someone cast a magic spell in my direction , please,- 'cause the program looks great!  :'(

tim arnot

Please post your Simconnect.xml and the Plan-G log file. Thanks.

Tim. @TimArnot

Scandi426

Ok, here's the xml.

<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="SimConnect" version="1,0">
  <Descr>SimConnect</Descr>
  <Filename>SimConnect.xml</Filename>
<SimConnect.Comm>
  <Disabled>False</Disabled>
  <Protocol>IPv4</Protocol>
  <Scope>global</Scope>
  <Address>192.168.0.110</Address>
  <MaxClients>64</MaxClients>
  <Port>4506</Port>
  <MaxRecvSize>4096</MaxRecvSize>
  <DisableNagle>False</DisableNagle>
</SimConnect.Comm>
</SimBase.Document>

Have to mention this file has gone through various changes from editing and I hope its intact, somewhat. There is an additional simconnect.xml stored in my UTII folder, is this of concern?

Log file in post below.

:)

Scandi426

#3
And the rather long log file, had to remove the first hours due to forum post limitation..

From the file you'll see that I've tried diffrent settings and entries. Happy readings  :D

01:11:32  DEBUG: removeAircraftOverlays
01:13:47 PlanG constructor
01:13:47 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
01:13:48 Starting Plan-G, build 0.9.1.423
01:13:48 Selected data set is FSX
01:13:48 Starting map
01:13:48 Initialisation complete.
01:14:59 RibbonButton_Click_ConnectFS
01:14:59 SimConnect.Connect
01:14:59 SimConnect.Connect - Remote. Mode = IPv6 Server = fe80::fdff:51fc:6298:a4b3 Port = 4506
01:15:19 SimConnect remote connection timed out
01:16:00  DEBUG: removeAircraftOverlays
01:28:15 PlanG constructor
01:28:15 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
01:28:15 Starting Plan-G, build 0.9.1.423
01:28:15 Selected data set is FSX
01:28:15 Starting map
01:28:16 Initialisation complete.
01:29:08 RibbonButton_Click_ConnectFS
01:29:08 SimConnect.Connect
01:29:08 SimConnect.Connect - Remote. Mode = IPv4 Server = fe80::fdff:51fc:6298:a4b3 Port = 4506
01:29:08 SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Socket Connection Failed ---> System.ArgumentException: None of the discovered or specified addresses match the socket address family.
Parameter name: context
   at System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(Object result, MultipleAddressConnectAsyncResult context)
   at System.Net.Sockets.Socket.DoDnsCallback(IAsyncResult result, MultipleAddressConnectAsyncResult context)
   at System.Net.Sockets.Socket.BeginConnect(String host, Int32 port, AsyncCallback requestCallback, Object state)
   at BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   --- End of inner exception stack trace ---
   at BeatlesBlog.SimConnect.SimConnect.Networking.Connect()
   at BeatlesBlog.SimConnect.SimConnect.OpenCommon(String strAppName)
   at BeatlesBlog.SimConnect.SimConnect.Open(String strAppName, String strHostName, Int32 iPort, Boolean bIsIPV6)
   at FS._SimConnect.Connect()
01:29:08 FSUIPC.Connect
01:29:08 Error opening FSUIPC: FSUIPC.FSUIPCException: FSUIPC Error #2: FSUIPC_ERR_NOFS. Cannot find FSUIPC or WideFS running on this machine.
   at FSUIPC.FSUIPCConnection.Open(FlightSim RequiredFlightSimVersion)
   at FSUIPC.FSUIPCConnection.Open()
   at FS.FSUIPC.Connect()
01:30:21 PlanG constructor
01:30:21 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
01:30:22 Starting Plan-G, build 0.9.1.423
01:30:22 Selected data set is FSX
01:30:22 Starting map
01:30:22 Initialisation complete.
01:32:31 RibbonButton_Click_ConnectFS
01:32:31 SimConnect.Connect
01:32:31 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.101 Port = 4506
01:32:51 SimConnect remote connection timed out
01:32:56  DEBUG: removeAircraftOverlays
01:47:33 RibbonButton_Click_DisconnectFS
01:47:33 SimConnect.Disconnect
01:47:34  DEBUG: removeAircraftOverlays
01:47:42 PlanG constructor
01:47:42 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
01:47:42 Starting Plan-G, build 0.9.1.423
01:47:42 Selected data set is FSX
01:47:42 Starting map
01:47:43 Initialisation complete.
01:47:48 RibbonButton_Click_ConnectFS
01:47:48 SimConnect.Connect
01:47:48 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.101 Port = 4506
01:48:08 SimConnect remote connection timed out
01:48:12  DEBUG: removeAircraftOverlays
01:49:03 PlanG constructor
01:49:03 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
01:49:03 Starting Plan-G, build 0.9.1.423
01:49:04 Selected data set is FSX
01:49:04 Starting map
01:49:04 Initialisation complete.
01:51:45 PlanG constructor
01:51:45 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
01:51:45 Starting Plan-G, build 0.9.1.423
01:51:45 Selected data set is FSX
01:51:45 Starting map
01:51:45 Initialisation complete.
01:51:55 RibbonButton_Click_ConnectFS
01:51:55 SimConnect.Connect
01:51:55 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.101 Port = 4506
01:52:15 SimConnect remote connection timed out
01:53:23  DEBUG: removeAircraftOverlays
01:54:16 PlanG constructor
01:54:16 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
01:54:17 Starting Plan-G, build 0.9.1.423
01:54:17 Selected data set is FSX
01:54:17 Starting map
01:54:17 Initialisation complete.
01:54:22 RibbonButton_Click_ConnectFS
01:54:22 SimConnect.Connect
01:54:22 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.101 Port = 4506
01:54:42 SimConnect remote connection timed out
01:55:03  DEBUG: removeAircraftOverlays
02:03:41 PlanG constructor
02:03:41 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:03:41 Starting Plan-G, build 0.9.1.423
02:03:41 Selected data set is FSX
02:03:41 Starting map
02:03:41 Initialisation complete.
02:03:59 RibbonButton_Click_ConnectFS
02:03:59 SimConnect.Connect
02:03:59 SimConnect.Connect - Remote. Mode = IPv4 Server = Bernt-PC Port = 4506
02:04:19 SimConnect remote connection timed out
02:04:20  DEBUG: removeAircraftOverlays
02:08:35 PlanG constructor
02:08:35 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:08:35 Starting Plan-G, build 0.9.1.423
02:08:35 Selected data set is FSX
02:08:35 Starting map
02:08:35 Initialisation complete.
02:08:39 RibbonButton_Click_ConnectFS
02:08:39 SimConnect.Connect
02:08:39 SimConnect.Connect - Remote. Mode = IPv4 Server = Bernt-PC Port = 4506
02:08:59 SimConnect remote connection timed out
02:16:38  DEBUG: removeAircraftOverlays
02:18:50 PlanG constructor
02:18:50 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:18:51 Starting Plan-G, build 0.9.1.423
02:18:51 Selected data set is FSX
02:18:51 Starting map
02:18:51 Initialisation complete.
02:18:56 RibbonButton_Click_ConnectFS
02:18:56 SimConnect.Connect
02:18:56 SimConnect.Connect - Remote. Mode = IPv4 Server = Bernt-PC Port = 4506
02:19:16 SimConnect remote connection timed out
02:19:25  DEBUG: removeAircraftOverlays
02:19:50 RibbonButton_Click_DisconnectFS
02:19:50 SimConnect.Disconnect
02:19:51  DEBUG: removeAircraftOverlays
02:19:53 RibbonButton_Click_ConnectFS
02:19:53 SimConnect.Connect
02:19:53 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.1 Port = 4506
02:20:13 SimConnect remote connection timed out
02:20:19  DEBUG: removeAircraftOverlays
02:20:29 RibbonButton_Click_DisconnectFS
02:20:29 SimConnect.Disconnect
02:20:31  DEBUG: removeAircraftOverlays
02:20:33 RibbonButton_Click_ConnectFS
02:20:33 SimConnect.Connect
02:20:33 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.104 Port = 4506
02:20:39 PlanG constructor
02:20:39 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:20:39 Starting Plan-G, build 0.9.1.423
02:20:39 Selected data set is FSX
02:20:39 Starting map
02:20:39 Initialisation complete.
02:20:51 RibbonButton_Click_ConnectFS
02:20:51 SimConnect.Connect
02:20:51 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.104 Port = 4506
02:21:11 SimConnect remote connection timed out
02:21:13  DEBUG: removeAircraftOverlays
02:21:30 RibbonButton_Click_DisconnectFS
02:21:30 SimConnect.Disconnect
02:21:31  DEBUG: removeAircraftOverlays
02:21:38 PlanG constructor
02:21:38 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:21:38 Starting Plan-G, build 0.9.1.423
02:21:38 Selected data set is FSX
02:21:38 Starting map
02:21:38 Initialisation complete.
02:21:44 RibbonButton_Click_ConnectFS
02:21:44 SimConnect.Connect
02:21:44 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.101 Port = 4506
02:22:04 SimConnect remote connection timed out
02:22:46  DEBUG: removeAircraftOverlays
02:23:58 PlanG constructor
02:23:58 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:23:58 Starting Plan-G, build 0.9.1.423
02:23:58 Selected data set is FSX
02:23:58 Starting map
02:23:58 Initialisation complete.
02:24:46 RibbonButton_Click_ConnectFS
02:24:46 SimConnect.Connect
02:24:46 SimConnect.Connect - Remote. Mode = IPv6 Server = fe80::fdff:51fc:6298:a4b3 Port = 4506
02:25:06 SimConnect remote connection timed out
02:25:09  DEBUG: removeAircraftOverlays
02:26:32 PlanG constructor
02:26:32 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:26:32 Starting Plan-G, build 0.9.1.423
02:26:32 Selected data set is FSX
02:26:32 Starting map
02:26:32 Initialisation complete.
02:30:23 RibbonButton_Click_ConnectFS
02:30:23 SimConnect.Connect
02:30:23 SimConnect.Connect - Remote. Mode = IPv6 Server = fe80::fdff:51fc:6298:a4b3 Port = 4506
02:30:43 SimConnect remote connection timed out
02:30:45  DEBUG: removeAircraftOverlays
02:38:49 RibbonButton_Click_DisconnectFS
02:38:49 SimConnect.Disconnect
02:38:50  DEBUG: removeAircraftOverlays
02:38:51 RibbonButton_Click_ConnectFS
02:38:51 SimConnect.Connect
02:38:51 SimConnect.Connect - Remote. Mode = IPv4 Server = Bernt-PC Port = 4506
02:39:12 SimConnect remote connection timed out
02:39:13  DEBUG: removeAircraftOverlays
02:44:49 PlanG constructor
02:44:49 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:44:49 Starting Plan-G, build 0.9.1.423
02:44:50 Selected data set is FSX
02:44:50 Starting map
02:44:50 Initialisation complete.
02:44:55 RibbonButton_Click_ConnectFS
02:44:55 SimConnect.Connect
02:44:55 SimConnect.Connect - Remote. Mode = IPv4 Server = Bernt-PC Port = 4506
02:45:15 SimConnect remote connection timed out
02:45:23  DEBUG: removeAircraftOverlays
02:47:00 RibbonButton_Click_DisconnectFS
02:47:00 SimConnect.Disconnect
02:47:01  DEBUG: removeAircraftOverlays
02:47:01 RibbonButton_Click_DisconnectFS
02:47:24 RibbonButton_Click_ConnectFS
02:47:24 SimConnect.Connect
02:47:24 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.101 Port = 4506
02:47:44 SimConnect remote connection timed out
02:47:45  DEBUG: removeAircraftOverlays
02:47:47 RibbonButton_Click_DisconnectFS
02:47:47 SimConnect.Disconnect
02:47:48  DEBUG: removeAircraftOverlays
02:47:57 PlanG constructor
02:47:57 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:47:57 Starting Plan-G, build 0.9.1.423
02:47:57 Selected data set is FSX
02:47:57 Starting map
02:47:57 Initialisation complete.
02:48:36 RibbonButton_Click_ConnectFS
02:48:36 SimConnect.Connect
02:48:36 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.101 Port = 4506
02:48:56 SimConnect remote connection timed out
02:48:58  DEBUG: removeAircraftOverlays
02:49:02 RibbonButton_Click_DisconnectFS
02:49:02 SimConnect.Disconnect
02:49:03  DEBUG: removeAircraftOverlays
02:49:03 RibbonButton_Click_DisconnectFS
02:49:09 PlanG constructor
02:49:09 executableFolder: C:\Documents and Settings\admin\Desktop\Plan-G
02:49:09 Starting Plan-G, build 0.9.1.423
02:49:09 Selected data set is FSX
02:49:09 Starting map
02:49:10 Initialisation complete.
02:49:36 RibbonButton_Click_ConnectFS
02:49:36 SimConnect.Connect
02:49:36 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.1 Port = 4506
02:49:56 SimConnect remote connection timed out
02:49:58  DEBUG: removeAircraftOverlays

tim arnot

The IP in your xml is 192.168.0.110  and the IP in your Plan-G is 192.168.0.101

get them to match, and you might be on a winner...  ;)

Tim. @TimArnot

Scandi426

Hi, Tim!

Logical suggestion but I had them matching earlier as well, but no luck. Initially I assumed the xml had to be directed to the client/laptop IP (which is 192.168.0.110) and Plan-G set to locate the Win7/FSX machine IP (which seems to be 192.168.0.3 - *IPv4)
*But I really dont know which protocol my client (XP) uses, do they have to use same? How do I know if my client uses IPv4 or 6 since XP doesnt tell me from ipconfig.

What bothers me is why FSX is not asking me to open my firewall for this traffic. Any clue? As if my XML is ignored when loading the game.. I also tried adding TCP port 4506 manually on all 3 firewalls but neither that helped.

Thank you for helping out so far!

Quote from: tim arnot on October 07, 2010, 06:59:02 PM
The IP in your xml is 192.168.0.110  and the IP in your Plan-G is 192.168.0.101

get them to match, and you might be on a winner...  ;)

tim arnot

XP does not have IPv6, unless you have installed it separately.

An address that starts 192.168 is an IPv4 address. An address that starts fe80:: is an IPv6 address. Your xml only specifies IPv4, and so that is what you must use.

The address you need to specify is that of the PC that is running FSX (and hosting Simconnect.xml). Make sure Simconnect.xml is in the same folder as your fsx.cfg (I don't remember where that is in XP)

Tim. @TimArnot

Scandi426

You're quite right! "Houston - we are connected!"

Of all the combinations I tried this was not one of them... just my usual luck ;-)

One thing that puzzles me is that FSX still not requires me to open port 4506 in my local firewall, I know for sure there I removed those entries manually when I tried different settings.

Ok, thank you for your help, Tim - much appreciated!


Quote from: tim arnot on October 07, 2010, 11:25:06 PM
XP does not have IPv6, unless you have installed it separately.

An address that starts 192.168 is an IPv4 address. An address that starts fe80:: is an IPv6 address. Your xml only specifies IPv4, and so that is what you must use.

The address you need to specify is that of the PC that is running FSX (and hosting Simconnect.xml). Make sure Simconnect.xml is in the same folder as your fsx.cfg (I don't remember where that is in XP)