# Detecting disconnection of MQTT out node

**URL:** <https://discourse.nodered.org/t/detecting-disconnection-of-mqtt-out-node/83914>\
**Category:** General\
**Tags:** mqtt\
**Created:** [21 December 2023 12:27 UTC](https://discourse.nodered.org/t/detecting-disconnection-of-mqtt-out-node/83914 "2023-12-21T12:27:10Z")\
**Posts on this page:** 1\
**Showing post:** 39

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [2 January 2024 09:21 UTC](https://discourse.nodered.org/t/detecting-disconnection-of-mqtt-out-node/83914/39 "2024-01-02T09:21:01Z")

</div>

> [@j2002](#):
>
> Unable to listen on [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
> Jan 02 09:32:52 raspberrypi Node-RED[1285]: 2 Jan 09:32:52 - [error] Error: port in use

Node-red is already running.

Close all instances then start the services.

If you are unsure how, the quickest resolution is to reboot the device (to kill running node-red) and let the service autostart.

* * *

Ps, please post logs and code in a code block

In order to make code/logs readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/detecting-disconnection-of-mqtt-out-node/83914)._
