Connect to jMAVSim SITL with the MAVSDK via WIFI

I am trying to connect to the jMAVSim SITL with the MAVSDK via WIFI.
I have set up and started the simulation on one pc as described here: Redirecting to latest version of document (main)

However, when i try to run the takeoff_and_land example on another PC on the local network, i get the following output.

.\takeoff_and_land.exe udp://192.168.2.104:14580
[03:11:22|Info ] MAVSDK version: v0.50.1 (D:\a\MAVSDK\MAVSDK\src\core\mavsdk_impl.cpp:28)
[03:11:22|Debug] Initializing connection to remote system… (D:\a\MAVSDK\MAVSDK\src\core\mavsdk_impl.cpp:482)
Waiting to discover system…
[03:11:22|Debug] New: System ID: 1 Comp ID: 1 (D:\a\MAVSDK\MAVSDK\src\core\mavsdk_impl.cpp:221)
[03:11:22|Debug] Component Autopilot (1) added. (D:\a\MAVSDK\MAVSDK\src\core\system_impl.cpp:361)
[03:11:22|Debug] MAVLink: info: [logger] ./log/2021-12-21/14_11_20.ulg (D:\a\MAVSDK\MAVSDK\src\core\system_impl.cpp:240)
No autopilot found.

First it states “Component Autopilot (1) added”, but then “No autopilot found.”.

When i run the example on the PC that is also running the simulation, i get the following output and it runs as intended.

.\takeoff_and_land.exe udp://:14540
[03:06:18|Info ] MAVSDK version: v0.50.1 (D:\a\MAVSDK\MAVSDK\src\core\mavsdk_impl.cpp:28)
Waiting to discover system…
[03:06:18|Info ] New system on: 127.0.0.1:14580 (with sysid: 1) (D:\a\MAVSDK\MAVSDK\src\core\udp_connection.cpp:194)
[03:06:18|Debug] New: System ID: 1 Comp ID: 1 (D:\a\MAVSDK\MAVSDK\src\core\mavsdk_impl.cpp:484)
[03:06:18|Debug] Component Autopilot (1) added. (D:\a\MAVSDK\MAVSDK\src\core\system_impl.cpp:361)
[03:06:18|Debug] Discovered 1 component(s) (D:\a\MAVSDK\MAVSDK\src\core\system_impl.cpp:529)
Discovered autopilot

Any ideas on how to get it working from the remote PC would be appreciated.