# UDP Connection to QGC

**URL:** <https://discuss.px4.io/t/udp-connection-to-qgc/26849>\
**Category:** MAVLink\
**Created:** [April 5, 2022, 9:14am UTC](https://discuss.px4.io/t/udp-connection-to-qgc/26849 "2022-04-05T09:14:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tella\_Sai\_Shankar](https://discuss.px4.io/user_avatar/discuss.px4.io/tella_sai_shankar/32/7379_2.png) [@Tella\_Sai\_Shankar](https://discuss.px4.io/u/Tella_Sai_Shankar)\
**Post date:** [April 5, 2022, 9:14am UTC](https://discuss.px4.io/t/udp-connection-to-qgc/26849/1 "2022-04-05T09:14:30Z")

</div>

Hi  
I am working on the raspberry pi zero w to communicate with pixhawk4 via mavlink so I established a connection between rasp and pixhawk through UART and when I am connecting in QGC UDP connection is not working and when I done with TCP , in the terminal it is showing connection accepted, but it is not connecting to QGC.  
Note: Rasp and PC connected to same wifi router

> **[6. Install and setup mavlink-router (connecting drone to ground station)](https://bellergy.com/6-install-and-setup-mavlink-router/)**
>
> mavlink-router What is mavlink-router? Whether the flight controller communicates with the Raspberry Pi or the Raspberry Pi communicates with the ground station, they are all through mavlink. When …

 ![Untitled](https://discuss.px4.io/uploads/default/original/2X/d/dd8f5311d1cfcce97912e8a214e17668dcd5ee41.png)
