Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.

Lua Connection Failed: A connection attempt failed because the connected party did not responded

Hi Steve,

I have an issue with the MSFS 2020 LUA Connection

Before I poste my errors I want to tell you, what I have done so far:

1. I have updated GIT MS 2020 to V 4.7.22.
2. I ensure that both the Client and Server PC have the same portms2020: 27016 and they access the same Directories on the Client machine.
3. I ensured that port are open in the firewall of both machines.

I get the following message. WinSock: Connection Failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.25:27016
00:29:21 LUA Processor: Connect Exception - Unable To Connect!

Here is the log.

00:28:56 GoFlight Connection Starting.....
00:28:56 SimConnect Connection Starting.....
00:28:57 GoFlight Connection Started
00:28:57 SimConnect Message Processing Started
00:28:57 SimConnect Connection Started
00:28:57 Aircraft Connection Starting.....
00:28:57 SimConnect: Event Received: Aircraft Type Changed
00:28:57 GoFlight Connection Starting.....
00:28:57 Synchronising Switches & Selectors .....
00:28:57 Synchronising Switches & Selectors: Waiting for SimConnect .....
00:28:57 SimConnect Message Processing Finished
00:28:58 SimConnect Connection Starting.....
00:28:58 Creating Bespoke Vars
00:28:58 Bespoke Vars Created
00:28:58 Importing Bespoke Variables
00:28:58 Bespoke Vars Assigned, Importing Bespoke Events
00:28:58 Bespoke Events Temp Imported
00:28:58 Bespoke Events Imported
00:28:59 GoFlight Connection Started
00:28:59 SimConnect Message Processing Started
00:28:59 SimConnect Connection Started
00:28:59 Aircraft Connection Starting.....
00:28:59 SimConnect: Event Received: Aircraft Loaded/Flight Loaded
00:28:59 SimConnect: Event Received: SIM, 1
00:28:59 SimConnect: Event Received: PAUSE, 0
00:29:21 WinSock: Connection Failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.25:27016
00:29:21 LUA Processor: Connect Exception - Unable To Connect!
00:29:21 Aircraft Connection Started
00:29:21 Simconnect Version: 11.0.62651.3
00:29:21 Aircraft FullName: PMDG 737-700
00:29:26 BespokeEventProcessor: Task Failed RunLUA(\\ALIENWARE\Users\Esteban\Documents\GoFlight Interface Tool\LUA\global.lua)
00:29:26 Global LUA Event Running
00:29:26 BespokeEventProcessor: Task Failed RunLUA(\\ALIENWARE\Users\Esteban\Documents\GoFlight Interface Tool\LUA\PMDG 737\global_aircraft.lua)
00:29:26 Global Aircraft LUA Event Running
00:29:26 Synchronising Switches & Selectors Complete

I also have P3Dv5 and that is working, the only issue I have there is when I launch the GIT on client, once loaded and communicating with P3D a console window appears on the server with title P3Dv5 (not responding) and is blank. In this case, the are no error in the GIT and the sim is fine if when regain focus to the original P3D window and the blank is sent to the background, Once I finish and close P3D, the blanks P3Dv5 console window remains and a have to force close the window by killing the task. Is this normal?

Thanks in Advance


Comments

  • In LUA Config.txt, change the hostname from localhost to 192.168.1.25

    Do this with GIT and the FS2020 not running so the changes are picked up.

    Best wishes
    Steve
  • Thanks Steve

    Both the client and the server have hostname : 192.168.1.25, but is not working, I still have the issue of

    23:38:42 WinSock: Connection Failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.25:27016
    23:38:42 LUA Processor: Connect Exception - Unable To Connect!
  • Check that FlightSimIOLua is running on your system once GIT has started.
    Confirm your ip address is 192.168.1.25
    Disable all firewalls and try again to test port is open.

    Best wishes
    Steve
  • "Check that FlightSimIOLua is running on your system once GIT has started." By running you mean if I get in the hidden Icons in the task bar, i.e. is running minimized. When I click it it show a picture of a 747 at dawn and that it.
    yes that is my address, and I have disable the firewall in both machines, but no luck.
  • Something has to be blocking the comms. Perhaps change the port number in Lua Config. Also try changing the hostname to 127.0.0.1. This is what works on my PC as just tested with fresh install of GIT:

    hostname: 127.0.0.1
    port: 27015
    portms2020: 27016
    path: default
    luatimeout: 500
    luahookcount: 3

    Best wishes
    Steve
  • Just realised you are running on 2 PC's. GIT is running on the client PC?
  • edited December 2022
    Hi Steve
    The GIT is running in the Client (only) as well as the FlightSimlOLua. the server has only the ...\Documents\GoFlight Interface with the ConfigLUa.txt file.

    PD3 V5.2 works fine, MSFS used to work I guess before the portms: 27016 addition. I have tried changing the port# (ensuring at the same the port are open in Firewall). Have disable the Firewall, altogether in both PCs.

    I know the client is sending SYNC_REQUEST when using "netstat", but the Server is not responding. Here is the output of the FlightSimlOLualog.txt if it helps.

    17-03-53: FlightSimIOLua Starting ...
    17-03-53: LuaProcessor Starting ...
    17-03-53: LuaProcessor Started.
    17-03-53: TCPServer Starting ...
    17-03-53: TCPServer Connecting To 192.168.1.25 On Port 27016 ...
    17-03-53: Exception: Socket binding error: 10049 in TCPServer: Start
    17-03-53: TCPServer Stopping ...
    17-03-53: TCPServer Stopped!
    17-03-53: FlightSimIOLua Failed To Start: 0

    I read the error above 10049 is that the target address cannot be resolved. They question, is how can i be resolved by 5.2 GIT but not the FlightSimlOLua in MSFS version?

    Thanks

    Esteban
  • In FS2020 the WASM module does not use TCP/IP at all, so there is no need to worry about connecting to the server via ip/ports as it only uses Simconnect to communicate with GIT.

    GIT uses TCP/IP to talk to FlightSimIOLua which should be running on your client PC along with GIT.

    Is the error indicating that you ip address has changed?

    Best wishes
    Steve
  • Hi Steve,

    I just want to report that after I installed the recently available new version 4.7.3.2, the issue seems to be fixed. Thanks for your help.
Sign In or Register to comment.