# Node-RED Refused to Connect

**URL:** <https://discourse.nodered.org/t/node-red-refused-to-connect/73845>\
**Category:** General\
**Created:** [18 January 2023 07:59 UTC](https://discourse.nodered.org/t/node-red-refused-to-connect/73845 "2023-01-18T07:59:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmedt04](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@ahmedt04](https://discourse.nodered.org/u/ahmedt04)\
**Post date:** [18 January 2023 07:59 UTC](https://discourse.nodered.org/t/node-red-refused-to-connect/73845/1 "2023-01-18T07:59:09Z")

</div>

Hello,  
I'm having a problem with node-red, i can't start it anymore, every time i try to start it i get error: refused to connect, i am using an iot2050,  
if anyone can please help me.  
thank you.

 ![Screenshot (19)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/d/cd895180d50f3ebb744f110286de3986ed3fd1d9.png)  
 ![Screenshot (18)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/6/46134d75bbf426e3b9c1aea672e126e8da6e5419.png)

---

<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:** [18 January 2023 08:23 UTC](https://discourse.nodered.org/t/node-red-refused-to-connect/73845/2 "2023-01-18T08:23:15Z")

</div>

The device with IP 10.137.1.20 is not reachable causing node-red to crash (most likely a specific node that tries to connect to it). You can start node-red: `node-red --safe` which will start it without the flows running. Then you can correct the flows by removing/updating the offending node (if possible) and then deploy, which will (re)start the flows.

---

<div class="post-metadata">

**Author:** ![ahmedt04](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@ahmedt04](https://discourse.nodered.org/u/ahmedt04)\
**Post date:** [18 January 2023 09:25 UTC](https://discourse.nodered.org/t/node-red-refused-to-connect/73845/3 "2023-01-18T09:25:09Z")

</div>

Thank You.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [18 January 2023 10:46 UTC](https://discourse.nodered.org/t/node-red-refused-to-connect/73845/4 "2023-01-18T10:46:22Z")

</div>

If you find out what node is causing that, please do raise a GitHub issue against it because nodes should not cause Node-RED to crash.

---

<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:** [1 February 2023 10:47 UTC](https://discourse.nodered.org/t/node-red-refused-to-connect/73845/5 "2023-02-01T10:47:04Z")

</div>

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