# MQTT Engine is not connecting

**URL:** <https://forum.inductiveautomation.com/t/mqtt-engine-is-not-connecting/84623>\
**Category:** Ignition\
**Created:** [January 23, 2024, 9:16am UTC](https://forum.inductiveautomation.com/t/mqtt-engine-is-not-connecting/84623 "2024-01-23T09:16:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soundararajans\_S](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Soundararajans\_S](https://forum.inductiveautomation.com/u/Soundararajans_S)\
**Post date:** [January 23, 2024, 9:16am UTC](https://forum.inductiveautomation.com/t/mqtt-engine-is-not-connecting/84623/1 "2024-01-23T09:16:32Z")

</div>

Regarding MQTT Engine connectivity,

Am using MQTT fx to publish data to Ignition. If am using broker address as 'localhost' it's working fine. Instead of localhost trying with IP address not working even broker is not connecting. Ignition and MQTT fx on same system.

Getting attached error.

 ![Screenshot 2024-01-23 143951](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/7/6734cc62b1d927804500651deb27e70f7dc93225.png)  
 ![Screenshot 2024-01-23 145333](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/0/a031c0663f4135677ecc8249f03b13280e01638e.png)

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [January 23, 2024, 3:25pm UTC](https://forum.inductiveautomation.com/t/mqtt-engine-is-not-connecting/84623/2 "2024-01-23T15:25:01Z")

</div>

What MQTT broker are you using? You may need to check the configuration of the broker to see what IP(s) it is bound to. If it's only bound to 127.0.0.1 or localhost, then using any other IP won't work. Change this to 0.0.0.0 for binding and it should allow connections to any IP on the system.

Second thing to check would be your firewall.
