Use the following SimConnect.cfg and placed it in the same directory as vfrmap.exe
~/Downloads > cat SimConnect.cfg
; Example SimConnect client configurations
; new FS pipe
[SimConnect]
Protocol=IPv4
Address=127.0.0.1
Port=2222
;Protocol=Pipe
;Port=2222
;Address=.
; Automatic detection, backward compatible with FSX
[SimConnect.1]
Protocol=IPv4
Address=127.0.0.1
Port=2222
[SimConnect.2]
Protocol=Ipv6
Port=2222
Address=127.0.0.1
[SimConnect.3]
Protocol=Ipv4
Address=127.0.0.1
Port=2222
; default FSX pipe
[SimConnect.4]
Protocol=Pipe
Address=.
Port=2222
; global pipe, use the configuration of the remote server
[SimConnect.4]
Protocol=Pipe
Address=.
Port=2222
; global IPv6, use the configuration of the remote server
[SimConnect.5]
Protocol=IPv6
Address=127.0.0.1
Port=2222
; global IPv4, use the configuration of the remote server
[SimConnect.6]
Protocol=IPv4
Address=127.0.0.1
Port=2222
Optionally, enable developer mode in MSFS 2020, install MSFS SDK, and copy SimConnect.dll to the same directory as vfrmap.exe:
When running it on Steam/Linux, it gives the following error:
How to fix:
~/Downloads > locate SimConnect.xml /mnt/disk/home/user/.local/share/Steam/steamapps/compatdata/1250410/pfx/drive_c/users/steamuser/AppData/Roaming/Microsoft Flight Simulator/SimConnect.xml
Set port from default of 500 to 2222:
~/Downloads > cp ~/.wine/drive_c/MSFS\ SDK/SimConnect\ SDK/lib/SimConnect.dll ~/Downloads