# Error 503 when installing node-red/Node.js

**URL:** <https://discourse.nodered.org/t/error-503-when-installing-node-red-node-js/83603>\
**Category:** General\
**Created:** [11 December 2023 14:59 UTC](https://discourse.nodered.org/t/error-503-when-installing-node-red-node-js/83603 "2023-12-11T14:59:36Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![nx2i](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nx2i/32/53290_2.png) [@nx2i](https://discourse.nodered.org/u/nx2i)\
**Post date:** [12 December 2023 01:38 UTC](https://discourse.nodered.org/t/error-503-when-installing-node-red-node-js/83603/22 "2023-12-12T01:38:05Z")

</div>

I found the problem.  
Apparently, an earlier installation had modified my /etc/hosts file . There was a line specifying an incorrect IP address for [deb.nodesource.com](http://deb.nodesource.com). Removal of this line and a reboot solved the problem. Thanks for the help.

---

<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:** [12 December 2023 09:19 UTC](https://discourse.nodered.org/t/error-503-when-installing-node-red-node-js/83603/23 "2023-12-12T09:19:48Z")

</div>

That suggests that wget and apt do not pay attention to /etc/hosts, which seems very odd.

Don't forget to run  
`sudo apt update && sudo apt full-upgrade`  
to make sure all your system packages are up to date. Presumably this has not been done for some time.

---

<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:** [26 December 2023 09:20 UTC](https://discourse.nodered.org/t/error-503-when-installing-node-red-node-js/83603/24 "2023-12-26T09:20:38Z")

</div>

Closed on 26 December 2023 09:20 UTC

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

[Previous page](https://discourse.nodered.org/t/error-503-when-installing-node-red-node-js/83603.md?page=1)
