Connecting QGroundcontrol to PX4 SITL Running inside Docker

Hi. I am running PX4 SITL inside a docker container. I would like to use QGroundControl outside the docker container (running on host) but I am not able to do that so far. I followed instruction in (

  • I used p 14570:14570/udp with the run docker command to expose/forward 14570 port
  • Created comm link in QGC with 14570 port and the docker container IP address.

However, when I try to connect to this link, QGC gives a message that the bounding address is already in use!
But I don’t think that this address is being used. What could be the issue?



Did you get any fix for this? I am in a similar scenario where I want to connect a PX4 SITL running in a docker with Airsim and QGroundControl

I ended up running QGC inside the container.

@beekay @Mzahana If you forward the mavlink to 14550 (which is the default QGC listens to), it should just work