# Error reading topics MQTT

**URL:** <https://discourse.nodered.org/t/error-reading-topics-mqtt/14088>\
**Category:** General\
**Created:** [7 August 2019 10:08 UTC](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088 "2019-08-07T10:08:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisst](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chrisst/32/10715_2.png) [@chrisst](https://discourse.nodered.org/u/chrisst)\
**Post date:** [7 August 2019 10:08 UTC](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088/1 "2019-08-07T10:08:09Z")

</div>

Hi to all,  
Iam new to node-red so excuse any stupid questions.  
I'll try to describe my issue the best way possible.

1)Try to listen some topics on the local network Mosquitto broker, which listens to 2 devices via  
8443 (websocket).

[Screenshot\_1|690x316](https://discourse.nodered.org/uploads/short-url/n1GNX3l2bAuTNFzc4FpRjbnafuO.jpeg)

Node-red cannot listen till now on ports: 1883 and 8443  
(The debug node has no output)  
I have to mention that the same thing worked with [test.mosquitto.org](http://test.mosquitto.org) as the broker.  
Do you have any similar experience?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [7 August 2019 10:50 UTC](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088/2 "2019-08-07T10:50:32Z")

</div>

Your node is connected so no issue there. Are your devices talking to the same broker ?

---

<div class="post-metadata">

**Author:** ![chrisst](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chrisst/32/10715_2.png) [@chrisst](https://discourse.nodered.org/u/chrisst)\
**Post date:** [7 August 2019 12:25 UTC](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088/3 "2019-08-07T12:25:34Z")

</div>

Yes that's for sure! Iam suspecting the configuration of the Mosquitto (installed on Win7).  
The port connections are visible on netstat.  
Iam now searching in Mosquitto Doc to figure how Iam supposed to set it up.  
Any ideas are welcome!

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [7 August 2019 12:29 UTC](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088/4 "2019-08-07T12:29:01Z")

</div>

Try using Node-RED to publish a message to those topics...

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [7 August 2019 12:30 UTC](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088/5 "2019-08-07T12:30:18Z")

</div>

Try using MQTT Explorer to connect to the broker - its a very useful MQTT debugging tool

> **[MQTT Explorer](https://mqtt-explorer.com/)**
>
> An all-round MQTT client that provides a structured topic overview

---

<div class="post-metadata">

**Author:** ![chrisst](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chrisst/32/10715_2.png) [@chrisst](https://discourse.nodered.org/u/chrisst)\
**Post date:** [7 August 2019 12:50 UTC](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088/6 "2019-08-07T12:50:20Z")

</div>

Thanks. I will test it.  
Iam publishing message to the same topic / broker / port and it works in Node-RED.  
I noticed that the messages from node-red inject do not appear in the cmd terminal (on the server side) like the other messages from the 2 devices.

 ![Screenshot_2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/838a7f96b2c7bad69abedd9b55756fa2ef71334b.jpeg)
