News:

Thou shalt confirm thine airspeed on final, lest the earth rise up and smite thee. (pre-landing checklist, v1)

Main Menu

Can't connect

Started by reecefly, April 01, 2010, 03:41:18 AM

Previous topic - Next topic

reecefly

Starts up fine but wont connect...heres the log info

:14:54 PM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Socket Connection Failed ---> System.ArgumentException: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address.
Parameter name: hostNameOrAddress
   at System.Net.Dns.HostResolutionBeginHelper(String hostName, Boolean useGetHostByName, Boolean flowContext, Boolean includeIPv6, Boolean throwOnIPAny, AsyncCallback requestCallback, Object state)
   at System.Net.Dns.UnsafeBeginGetHostAddresses(String hostName, AsyncCallback requestCallback, Object state)
   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()

reecefly


tim arnot

Looks like you haven't specified the connection info correctly. Unfortununately you didn't include the part of the log in your post  that shows that detail.

Tim. @TimArnot

reecefly

Hi Tim,

Heres a new log..Thanks


8:24:09 PM PlanG constructor
8:24:09 PM executableFolder: C:\PlanG0.9.1\Plan-G
8:24:10 PM Starting Plan-G, build 0.9.1.423
8:24:10 PM FSX is installed
8:24:10 PM FSX database is built
8:24:10 PM Selected data set is FSX
8:24:16 PM Starting map
8:24:16 PM Initialisation complete.
8:24:16 PM Initializing Jump List
8:24:16 PM Clearing progress bar
8:24:16 PM Checking PLN file registration
8:24:16 PM Checking command line
8:24:16 PM Command line. Length = 1 args = C:\PlanG0.9.1\Plan-G\Plan-G.exe,
8:24:57 PM RibbonButton_Click_ConnectFS
8:24:57 PM SimConnect.Connect
8:24:57 PM SimConnect.Connect - Remote. Mode = IPv6 Server = 0 Port = 0
8:24:57 PM SimConnect Connect failed: BeatlesBlog.SimConnect.SimConnect+SimConnectException: Socket Connection Failed ---> System.ArgumentException: IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address.
Parameter name: hostNameOrAddress
   at System.Net.Dns.HostResolutionBeginHelper(String hostName, Boolean useGetHostByName, Boolean flowContext, Boolean includeIPv6, Boolean throwOnIPAny, AsyncCallback requestCallback, Object state)
   at System.Net.Dns.UnsafeBeginGetHostAddresses(String hostName, AsyncCallback requestCallback, Object state)
   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()

tim arnot

#4
Yep. You need to specify an IP address and Port number in your config. Please refer to the manual Section 8, Page 44 "Connection to Flight Simulator", and specifically the settings shown on pages 49-51.

Tim. @TimArnot

Nathan Smith

#5
I'm having an issue in connecting too, details below:

FSX - Windows 7 x64bit (192.168.0.195) PC NAME - NATHAN-DT

Plan-G - Windows XP Tab Edition x32bit NO FIXED IP ADDRESS

SimConnect.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>NATHAN-DT</Address>
<MaxClients>64</MaxClients>
<Port>4506</Port>
<MaxRecvSize>4096</MaxRecvSize>
<DisableNagle>False</DisableNagle>
</SimConnect.Comm>



No matter what I do it just Times out - ALL FIREWALLS ARE OFF, it doesn't matter what I do it just times out

Please Help

Nathan Smith

tim arnot

Please upload the log file.

Tim. @TimArnot

Nathan Smith

Here's my log file

15:19:14 RibbonButton_Click_ConnectFS
15:19:14 SimConnect.Connect
15:19:14 SimConnect.Connect - Remote. Mode = IPv4 Server = 192.168.0.195 Port = 4506
15:19:35 SimConnect remote connection timed out
15:19:39  DEBUG: removeAircraftOverlays
15:19:41 RibbonButton_Click_DisconnectFS
15:19:41 SimConnect.Disconnect
15:19:42  DEBUG: removeAircraftOverlays

Nathan Smith

Sorted it all - it was AVG Firewall

tim arnot


Tim. @TimArnot

reecefly

 :)  Thanks Tim it works now..