# Node red firewall rules

**URL:** <https://discourse.nodered.org/t/node-red-firewall-rules/87777>\
**Category:** General\
**Created:** [7 May 2024 13:14 UTC](https://discourse.nodered.org/t/node-red-firewall-rules/87777 "2024-05-07T13:14:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarianoB](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@MarianoB](https://discourse.nodered.org/u/MarianoB)\
**Post date:** [7 May 2024 13:14 UTC](https://discourse.nodered.org/t/node-red-firewall-rules/87777/1 "2024-05-07T13:14:38Z")

</div>

Im using node red on a network that have a firewall. I want to know the URL i need to put as an exception on the firewall so i can download new nodes when needed

---

<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:** [7 May 2024 13:41 UTC](https://discourse.nodered.org/t/node-red-firewall-rules/87777/2 "2024-05-07T13:41:10Z")

</div>

Welcome to the forum @MarianoB

What error do you see in the install log?

---

<div class="post-metadata">

**Author:** ![MarianoB](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@MarianoB](https://discourse.nodered.org/u/MarianoB)\
**Post date:** [7 May 2024 14:25 UTC](https://discourse.nodered.org/t/node-red-firewall-rules/87777/3 "2024-05-07T14:25:40Z")

</div>

2024-05-07T14:22:47.454Z [err] npm

2024-05-07T14:22:47.454Z [err] ERR! code ETIMEDOUT

2024-05-07T14:22:47.454Z [err] npm ERR! syscall connect

2024-05-07T14:22:47.454Z [err] npm ERR! errno ETIMEDOUT

2024-05-07T14:22:47.455Z [err] npm ERR! network

2024-05-07T14:22:47.456Z [err] request to [https://registry.npmjs.org/node-red-mysql-r2](https://registry.npmjs.org/node-red-mysql-r2) failed, reason: connect ETIMEDOUT 104.16.1.35:443

2024-05-07T14:22:47.456Z [err] npm ERR!

2024-05-07T14:22:47.456Z [err] network This is a problem related to network connectivity.

2024-05-07T14:22:47.456Z [err] npm ERR! network In most cases you are behind a proxy or have bad network settings.

2024-05-07T14:22:47.456Z [err] npm ERR! network

2024-05-07T14:22:47.456Z [err] npm ERR! network If you are behind a proxy, please make sure that the

2024-05-07T14:22:47.456Z [err] npm ERR!

2024-05-07T14:22:47.456Z [err] network 'proxy' config is set properly. See: 'npm help config'

2024-05-07T14:22:47.457Z [err]

2024-05-07T14:22:47.457Z [err] npm ERR! A complete log of this run can be found in:

2024-05-07T14:22:47.457Z [err] npm ERR!

2024-05-07T14:22:47.457Z [err] /data/.npm/\_logs/2024-05-07T14\_15\_07\_225Z-debug-0.log

---

<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:** [7 May 2024 14:38 UTC](https://discourse.nodered.org/t/node-red-firewall-rules/87777/4 "2024-05-07T14:38:33Z")

</div>

As you can see from the log, Node-RED needs to be able to download modules from `https://registry.npmjs.org` - this is typical of any node based application that pulls from NPM.

There are some (not many) nodes that also pull from `github` - you may wish to include that too.

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [7 May 2024 23:59 UTC](https://discourse.nodered.org/t/node-red-firewall-rules/87777/5 "2024-05-07T23:59:37Z")

</div>

And you might want to think about DNS and retrieving time settings also as firewall exceptions

Craig

---

<div class="post-metadata">

**Author:** ![benefit\_union](https://avatars.discourse-cdn.com/v4/letter/b/ba9def/32.png) [@benefit\_union](https://discourse.nodered.org/u/benefit_union)\
**Post date:** [8 May 2024 01:40 UTC](https://discourse.nodered.org/t/node-red-firewall-rules/87777/6 "2024-05-08T01:40:01Z")

</div>

this is maybe from nodejs setting .U need set nodejs server .

---

<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:** [6 August 2024 01:40 UTC](https://discourse.nodered.org/t/node-red-firewall-rules/87777/7 "2024-08-06T01:40:52Z")

</div>

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