# Unable to connect multiple VOXL2 mini drones to QGroundControl using different UDP ports

Source: https://forum.modalai.com/topic/4946/unable-to-connect-multiple-voxl2-mini-drones-to-qgroundcontrol-using-different-udp-ports
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2025-12-23 10:57:22 UTC by Sarika Sharma
Replies: 7 · Views: 764

## Sarika Sharma · 2025-12-23 10:57:22 UTC

I am trying to connect multiple VOXL2 Mini drones to QGroundControl (QGC) by assigning different UDP ports per drone, but I am unable to connect on any port other than the default 14550.

My Setup

Hardware: VOXL2 Mini
GCS: QGroundControl
QGC running on host PC

Goal

Drone 1

IP: 192.168.1.16

UDP Port: 14551

Drone 2

IP: 192.168.1.15

UDP Port: 14552

QGC successfully connects when using UDP port 14550 but not with 14551/14552

kindly look at the attached screenshots:
![alt text](![b9084041-d1be-43d0-877f-e9092d9e8688-Screenshot from 2025-12-23 16-10-25.png](https://forum.modalai.com/assets/uploads/files/1766487368670-b9084041-d1be-43d0-877f-e9092d9e8688-screenshot-from-2025-12-23-16-10-25.png) )file:///home/idr/Pictures/Screenshots/Screenshot%20from%202025-12-23%2016-10-25.png

![alt text](![045f5848-1a55-4c12-bbfa-e1ac5a2d8b90-Screenshot from 2025-12-23 16-26-45.png](https://forum.modalai.com/assets/uploads/files/1766487437939-045f5848-1a55-4c12-bbfa-e1ac5a2d8b90-screenshot-from-2025-12-23-16-26-45.png) image url)file:///home/idr/Pictures/Screenshots/Screenshot%20from%202025-12-23%2016-26-45.png

## Reply by Eric Katzfey (ModalAI staff) · 2025-12-23 17:49:11 UTC

@Sarika-Sharma How are you setting up your network? Are you using WiFi? Station mode or AP mode?  If you are using WiFi and station mode then you want to set the primary_static_gcs_ip of each drone to the IP address of the computer that is running QGC. Since each drone will have a different IP address you don't need to specify different UDP ports.

## Reply by Sarika Sharma · 2025-12-24 04:55:24 UTC (in reply to Eric Katzfey)

@Eric-Katzfey yes, I am using wifi and station mode.And I am able to connect multiple drones having different IP Address on the default 14550 UDP port .But I wanna ask  can I specify different ports for each drone  having different IP address???
For ex: 
Drone 1 : IP->192.168.1.15 On port no 14551
Drone 2: IP-> 192.168.1.16 On port no 14552

## Reply by Eric Katzfey (ModalAI staff) · 2025-12-24 21:01:23 UTC (in reply to Sarika Sharma)

@Sarika-Sharma You can specify a different port to connect to at the GCS for each drone but their own port is hard-coded to 14550. https://gitlab.com/voxl-public/voxl-sdk/services/voxl-mavlink-server/-/blob/dev/src/gcs_io.c?ref_type=heads#L979

## Reply by Sarika Sharma · 2025-12-25 06:02:36 UTC (in reply to Eric Katzfey)

@Eric-Katzfey If you would be so kind as to tell how can i specify a different port to connect to at the GCS for each drone?

## Reply by Eric Katzfey (ModalAI staff) · 2025-12-25 16:33:52 UTC (in reply to Sarika Sharma)

@Sarika-Sharma It's in the configuration file but you'll need a more recent version of voxl-mavlink-server. I would recommend updating to SDK 1.6.2 and then grabbing voxl-mavlink-server 1.4.13 from here: http://voxl-packages.modalai.com/dists/qrb5165/sdk-1.6/binary-arm64/voxl-mavlink-server_1.4.13_arm64.deb.

## Reply by Sarika Sharma · 2025-12-26 06:27:38 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Thank you.

## Reply by Sarika Sharma · 2025-12-26 06:30:09 UTC (in reply to Sarika Sharma)

@Sarika-Sharma Kindly resolve this issue also https://forum.modalai.com/topic/4952/pmd-tof-not-detected-on-voxl2?_=1766730439331.
