# Px4 sitl qgc gazebo

**URL:** <https://discuss.px4.io/t/px4-sitl-qgc-gazebo/7115>\
**Category:** Uncategorized\
**Created:** [July 10, 2018, 12:26pm UTC](https://discuss.px4.io/t/px4-sitl-qgc-gazebo/7115 "2018-07-10T12:26:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinay545](https://discuss.px4.io/letter_avatar_proxy/v4/letter/v/c37758/32.png) [@Vinay545](https://discuss.px4.io/u/Vinay545)\
**Post date:** [July 10, 2018, 12:26pm UTC](https://discuss.px4.io/t/px4-sitl-qgc-gazebo/7115/1 "2018-07-10T12:26:27Z")

</div>

I am trying to simulate px4 sitl using gazebo. And qgc in my Android phone. Qgc and px4 are not connecting. Is it possible to do? Or am i missing something. Because px4 is running on one system and qgc on other.

---

<div class="post-metadata">

**Author:** ![Jaeyoung-Lim](https://discuss.px4.io/user_avatar/discuss.px4.io/jaeyoung-lim/32/10829_2.png) [@Jaeyoung-Lim](https://discuss.px4.io/u/Jaeyoung-Lim)\
**Post date:** [July 11, 2018, 2:51pm UTC](https://discuss.px4.io/t/px4-sitl-qgc-gazebo/7115/2 "2018-07-11T14:51:38Z")

</div>

It is possible, but you have to be in the same network. How are you configuring the network?

---

<div class="post-metadata">

**Author:** ![Lyris](https://discuss.px4.io/letter_avatar_proxy/v4/letter/l/87869e/32.png) [@Lyris](https://discuss.px4.io/u/Lyris)\
**Post date:** [July 11, 2018, 4:06pm UTC](https://discuss.px4.io/t/px4-sitl-qgc-gazebo/7115/3 "2018-07-11T16:06:21Z")

</div>

did u try reboot ur phone ? i sometime have issue connecting with my iphone. make sure you are connected by wifi on the same network

---

<div class="post-metadata">

**Author:** ![Vinay545](https://discuss.px4.io/letter_avatar_proxy/v4/letter/v/c37758/32.png) [@Vinay545](https://discuss.px4.io/u/Vinay545)\
**Post date:** [July 12, 2018, 4:47am UTC](https://discuss.px4.io/t/px4-sitl-qgc-gazebo/7115/4 "2018-07-12T04:47:58Z")

</div>

They are in same lan. I have connected my system to router. And Android phone to wifi of that router. I could able to ping from system to andriod ip address.

---

<div class="post-metadata">

**Author:** ![matthew\_sjtu](https://discuss.px4.io/letter_avatar_proxy/v4/letter/m/e79b87/32.png) [@matthew\_sjtu](https://discuss.px4.io/u/matthew_sjtu)\
**Post date:** [August 8, 2018, 9:06am UTC](https://discuss.px4.io/t/px4-sitl-qgc-gazebo/7115/5 "2018-08-08T09:06:09Z")

</div>

Hi, I have the same problem with connecting the gazebo by the Android qgoundcontrol.  
IP of the Ubuntu running gazebo is 192.168.1.104, and IP of the phone running Android qgroundcontrol is 192.168.1.103. They can ping to each other.

In qgroundcontrol, I add the TCP link of ‘192.168.1.104:5760’, then connect, but it fails and warns ‘Error on socket:Connection refused.’

if anyone has the same problem?
