Sorry Tim...Another connection problem via Network PC

Started by davecat, November 20, 2012, 11:24:39 PM

Previous topic - Next topic

davecat

Long time user. Long time advocate of your wonderful program.

I just finished a new PC build.  FSX SP2 insatlled running Windows 7 64 bit.  All add-ons installed so I was just attemting to get Plan-G up and running again.  It runs fine on my FSX PC.  My networked laptop has been the problem.  It also runs Windows 7 64 bit. 

I did a fresh install of Plan-G on my laptop and copied over the data files from my FSX PC.  Plan-G opens fine and uses the data files on my laptop, but I have not figured out why Simconnect is failing.

Here is the log file from the laptop and copy of my Simconnect file from the FSX PC.

17:07:13.1 Starting Plan-G, build 3.0.0.46
17:07:13.1 OS is Microsoft Windows NT 6.1.7601 Service Pack 1
17:07:13.3 InitDataFolder
17:07:13.3 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
17:07:13.3 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
17:07:13.4 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
17:07:13.4 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
17:07:13.4 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\UserWaypoints.sdf
17:07:13.4 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\MEF.sdf
17:07:14.6 Map tiles cache: C:\Users\Cynthia\AppData\Local\GMap.NET\
17:07:14.8 Program in: C:\Plan G
17:07:14.8 Data in: C:\Users\Cynthia\Documents\Plan-G Files
17:07:14.8 IsDataLoaded: FSX
17:07:14.8 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
17:07:15.0 Starting timer
17:07:15.0 DownloadCurrentMetars thread started
17:07:15.0 lTAF18Z.TXT started
17:07:15.0 Metar22Z.TXT started
17:07:15.0 Metar23Z.TXT started
17:07:15.7 sTAF00Z.TXT started
17:07:16.2 lTAF00Z.TXT started
17:07:16.7 sTAF18Z.TXT started
17:07:17.4 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
17:07:18.0 NdbsInBounds 20
17:07:18.4 VorsInBounds 11
17:07:18.8 AirportsInBounds 188
17:07:19.2 AirspaceInBounds 50
17:07:19.6 IsDataLoaded: FSX
17:07:19.6 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
17:07:19.6 IsDataLoaded: FS9
17:07:19.6 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
17:07:19.6 IsDataLoaded: XPlane
17:07:19.6 Data Source = C:\Users\Cynthia\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
17:07:19.8 NdbsInBounds 17
17:07:19.8 VorsInBounds 11
17:07:19.9 AirportsInBounds 168
17:07:20.1 AirspaceInBounds 54
17:07:20.3 NdbsInBounds 19
17:07:20.3 VorsInBounds 11
17:07:20.4 AirportsInBounds 188
17:07:20.5 AirspaceInBounds 55
17:07:20.8 Stopping timer
17:07:20.8 StartMap
17:07:20.8 NdbsInBounds 18
17:07:20.9 VorsInBounds 11
17:07:21.0 sTAF00Z.TXT done
17:07:21.0 AirportsInBounds 182
17:07:21.4 AirspaceInBounds 54
17:07:21.4 NdbsInBounds 18
17:07:21.5 VorsInBounds 11
17:07:21.5 AirportsInBounds 182
17:07:21.7 AirspaceInBounds 54
17:07:24.7 Initiating SimConnect connection.
17:07:24.7 Connect
17:07:24.7 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.1.1 Port = 4506
17:07:25.5 sTAF18Z.TXT done
17:07:29.7 SimConnect connection attempt timed out
17:07:29.7 Disconnect
17:07:30.8 Disconnected from sim
17:07:40.3 lTAF18Z.TXT done



<?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.1.1</Address>
  <MaxClients>64</MaxClients>
  <Port>4506</Port>
  <MaxRecvSize>4096</MaxRecvSize>
  <DisableNagle>False</DisableNagle>
  </SimConnect.Comm>
</SimBase.Document>

sky one

I'm not Tim, but I think you should update to build 50...  :)

Ciao
Cristiano
X-plane user

davecat

#2
Updated to Build 50.  No joy.  Log file looks the same.  Tried IPv4 and Ipv6.  Confused now.  V2 worked like a charm.  I guess I should left it alone. :(   Miss my fav add-on!


sky one

Could it be the FSX PC's firewall blocking incoming connections?

Ciao
Cristiano
X-plane user

tim arnot

Run As Administrator is another possibility. It must be set the same on both FSX and Plan-G, or they won't connect.

Tim. @TimArnot

davecat

#5
Well...

Both are running as Administrator. and the Firewall on my FSX PC is set to allow FSX.  It has to be something so obvious that I keep missing it.

Frustration.  Grasping at straws now.  I tried turning off Firewall...still did not connect.  Running on Empty here.  Clean install on Laptop??  Can I use uninstall from control panel, and should I delete all the data files also?

davecat

I am still trying to debug.

I ran ipconfig on my FSX machine and was curious if this was causing my problem.  I am thinking it is irrelevant and that the trailing zeros are meaningless???

IPv4 address is 192.168.1.100
Default Gateway is 192.168.1.1

sky one

Your network configuration could be correct: do you have a router with IP 192.168.1.1?
Find a "telnet.exe" on the Internet (in Seven Microsoft removed it), copy it on your Desktop and open a command prompt in your Plan-G PC. Write:
cd Desktop (press return)
telnet 192.168.1.1 4506 (press return again)
What is happening now? If you have a "Cannot connect" error message, there's a connect-related problem. If your command prompt do a clear screen and you can only see a blinking cursor, the connection with SimConnect is ok (close the command prompt window with the upper right "x").

X-plane user

John Lygo


davecat

I have a registered version of FSUIPC, but for this scenario (connecting from laptop over a network) wouldn't I need to also purchase FSUIPC WIDE?

John Lygo


davecat

#11
Quote from: sky one on November 28, 2012, 07:31:29 AM
Your network configuration could be correct: do you have a router with IP 192.168.1.1?
Find a "telnet.exe" on the Internet (in Seven Microsoft removed it), copy it on your Desktop and open a command prompt in your Plan-G PC. Write:
cd Desktop (press return)
telnet 192.168.1.1 4506 (press return again)
What is happening now? If you have a "Cannot connect" error message, there's a connect-related problem. If your command prompt do a clear screen and you can only see a blinking cursor, the connection with SimConnect is ok (close the command prompt window with the upper right "x").


Connection failed...."Could not open connection to the host, on port 4506". 

What can I try/do next?  Not sure I understood your first question regarding my router...I went to Control Panel, Network and Internet, Network Map....placing my cursor over the router symbol indicates IPv4 address as 192.168.1.1

And thanks for the help!!

sky one

Change the line (make a backup of the file before to change it - just in case)

<Address>192.168.1.1</Address>

with

<Address>192.168.1.100</Address>

Save it and retry to connect.
X-plane user

davecat

#13
Have tried that.  No change.

I have been reading Avism and elsewhere.  I added firewall rules designating port 4506 for inbound and outbound on both FS host and client.  No change.  I then configured my router to open port 4506...still not connecting.

Not much more I can think of at this point.  I have read that sometimes uninstalling FSX SP1 and SP2 and reinstalling sometimes helps.  May give that a whirl, but then again I may not....

Maybe I should reset my router??

Should there be a simconnect.cfg on the client, my laptop?

What am I missing??

Disappointed Dave

sky one

Hello Dave,

I'm sorry we can't find a solution.  :(
Do nothing on your router: usually, inside a LAN, all the ports are open, so we can suppose the router isn't blocking your connection between the two PCs.
About the simconnect.cfg on your laptop, I can't understand what you mean (but I'm sure it my fault - you surely noticed my English is not so good): did you follow the Plan-G's manual in the "Simconnect" section? I know it's a stupid question (you demostrated to be an "advanced user" looking for infos everywhere)...

Ciao
Cristiano
X-plane user