# Error: bind EADDRINUSE xxx.xxx.xxx.xxx:4002

**URL:** <https://discourse.nodered.org/t/error-bind-eaddrinuse-xxx-xxx-xxx-xxx-4002/91262>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [25 September 2024 15:23 UTC](https://discourse.nodered.org/t/error-bind-eaddrinuse-xxx-xxx-xxx-xxx-4002/91262 "2024-09-25T15:23:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crovel](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@Crovel](https://discourse.nodered.org/u/Crovel)\
**Post date:** [25 September 2024 15:23 UTC](https://discourse.nodered.org/t/error-bind-eaddrinuse-xxx-xxx-xxx-xxx-4002/91262/1 "2024-09-25T15:23:28Z")

</div>

Hello everyone,

I've had the problem for a few days that my Node Red addon in the Home Assistant no longer starts.

Everything was actually quite simple until now. I installed the addon, started it and everything worked.

I'm not a complete beginner when it comes to Home Assistant and setting up various addons or HACS. But as soon as I have to make settings in a shell or console, I have to go through tutorials

It would be great if I could get information or even better help this way.

I have uninstalled the addon, reinstalled it, tried to start it in safe mode, but I get the same error message for everything.

I get the following error message from the log:

# Welcome to Node-RED

25 Sep 16:56:55 - [info] Node-RED version: v4.0.2  
25 Sep 16:56:55 - [info] Node.js version: v18.20.3  
25 Sep 16:56:55 - [info] Linux 6.6.46-haos x64 LE  
25 Sep 16:56:55 - [info] Loading palette nodes  
25 Sep 16:56:56 - [info] Node-RED Contrib Theme Collection version: v4.0.8  
25 Sep 16:56:57 - [info] Dashboard version 3.6.5 started at /endpoint/ui  
25 Sep 16:56:58 - [red] Uncaught Exception:  
25 Sep 16:56:58 - [error] Error: bind EADDRINUSE xxx.xxx.xxx.xxx:4002  
at node:dgram:364:20  
at processTicksAndRejections (node:internal/process/task\_queues:83:21)  
[16:56:58] INFO: Service Node-RED exited with code 1 (by signal 0)  
s6-rc: info: service legacy-services: stopping  
s6-rc: info: service legacy-services successfully stopped  
s6-rc: info: service nginx: stopping  
[16:56:58] INFO: Service NGINX exited with code 256 (by signal 15)  
s6-rc: info: service nginx successfully stopped  
s6-rc: info: service init-nginx: stopping  
s6-rc: info: service nodered: stopping  
s6-rc: info: service init-nginx successfully stopped  
s6-rc: info: service nodered successfully stopped  
s6-rc: info: service init-nodered: stopping  
s6-rc: info: service init-nodered successfully stopped  
s6-rc: info: service init-customizations: stopping  
s6-rc: info: service init-customizations successfully stopped  
s6-rc: info: service legacy-cont-init: stopping  
s6-rc: info: service legacy-cont-init successfully stopped  
s6-rc: info: service fix-attrs: stopping  
s6-rc: info: service base-addon-log-level: stopping  
s6-rc: info: service fix-attrs successfully stopped  
s6-rc: info: service base-addon-log-level successfully stopped  
s6-rc: info: service base-addon-banner: stopping  
s6-rc: info: service base-addon-banner successfully stopped  
s6-rc: info: service s6rc-oneshot-runner: stopping  
s6-rc: info: service s6rc-oneshot-runner successfully stopped

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 September 2024 17:17 UTC](https://discourse.nodered.org/t/error-bind-eaddrinuse-xxx-xxx-xxx-xxx-4002/91262/2 "2024-09-25T17:17:33Z")

</div>

> [@Crovel](#):
>
> EADDRINUSE

That usually means that node red is already running, but whether that is true when used with H A I don't know.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 December 2024 17:17 UTC](https://discourse.nodered.org/t/error-bind-eaddrinuse-xxx-xxx-xxx-xxx-4002/91262/3 "2024-12-24T17:17:47Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
