# ConnectionError: Failed to connect to (IP Address) in 5000ms

**URL:** <https://discourse.nodered.org/t/connectionerror-failed-to-connect-to-ip-address-in-5000ms/68347>\
**Category:** General\
**Tags:** database\
**Created:** [28 September 2022 14:36 UTC](https://discourse.nodered.org/t/connectionerror-failed-to-connect-to-ip-address-in-5000ms/68347 "2022-09-28T14:36:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Engi](https://avatars.discourse-cdn.com/v4/letter/e/ac91a4/32.png) [@Engi](https://discourse.nodered.org/u/Engi)\
**Post date:** [28 September 2022 14:36 UTC](https://discourse.nodered.org/t/connectionerror-failed-to-connect-to-ip-address-in-5000ms/68347/1 "2022-09-28T14:36:26Z")

</div>

I've run into this error with the MS SQL database node: ConnectionError: Failed to connect to (IP Address) in 5000ms, it was working fine before but after a recent power outage this error comes up every time I try to run it. I am working on a mini PC using remote device control, and is running Ubuntu 20.X.

I'm sorry that there isn't much information here, but I'm not sure how much of it I can share since I am making this for another company.

Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [28 September 2022 16:34 UTC](https://discourse.nodered.org/t/connectionerror-failed-to-connect-to-ip-address-in-5000ms/68347/2 "2022-09-28T16:34:38Z")

</div>

Welcome to the forum!

Has the IP of the mini pc or the SQL Server changed after the power outage?

---

<div class="post-metadata">

**Author:** ![Engi](https://avatars.discourse-cdn.com/v4/letter/e/ac91a4/32.png) [@Engi](https://discourse.nodered.org/u/Engi)\
**Post date:** [28 September 2022 16:46 UTC](https://discourse.nodered.org/t/connectionerror-failed-to-connect-to-ip-address-in-5000ms/68347/3 "2022-09-28T16:46:20Z")

</div>

Thanks for your answer,  
The IP of the mini PC not changed however I don't that I have the access needed to check the IP of the SQL server, would I need to run a query in the MS database engine to find it?

---

<div class="post-metadata">

**Author:** ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)\
**Post date:** [28 September 2022 16:49 UTC](https://discourse.nodered.org/t/connectionerror-failed-to-connect-to-ip-address-in-5000ms/68347/4 "2022-09-28T16:49:04Z")

</div>

Is the IP of the server set in the SQL node? Can you manually ping the server?

---

<div class="post-metadata">

**Author:** ![Engi](https://avatars.discourse-cdn.com/v4/letter/e/ac91a4/32.png) [@Engi](https://discourse.nodered.org/u/Engi)\
**Post date:** [28 September 2022 17:02 UTC](https://discourse.nodered.org/t/connectionerror-failed-to-connect-to-ip-address-in-5000ms/68347/5 "2022-09-28T17:02:47Z")

</div>

The IP of the mini PC is set in the SQL node

---

<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:** [27 November 2022 17:03 UTC](https://discourse.nodered.org/t/connectionerror-failed-to-connect-to-ip-address-in-5000ms/68347/6 "2022-11-27T17:03:10Z")

</div>

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