# Node-Red installation fail Windows Server 2019 via RDP

**URL:** <https://discourse.nodered.org/t/node-red-installation-fail-windows-server-2019-via-rdp/58899>\
**Category:** General\
**Created:** [23 February 2022 23:11 UTC](https://discourse.nodered.org/t/node-red-installation-fail-windows-server-2019-via-rdp/58899 "2022-02-23T23:11:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrallanH2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/brallanh2/32/40801_2.png) [@BrallanH2](https://discourse.nodered.org/u/BrallanH2)\
**Post date:** [23 February 2022 23:11 UTC](https://discourse.nodered.org/t/node-red-installation-fail-windows-server-2019-via-rdp/58899/1 "2022-02-23T23:11:37Z")

</div>

I installed Node.js using the installer:  
node-v16.14.0-x64

I am using an RDP session to access this computer on a customer's network. I have administrator privileges. I don't think the computer has internet access.

I get this output when I type into the command-line:  
"npm install -g --unsafe-perm node-red"

* * *

C:\Users\R941224o\>npm install -g --unsafe-perm node-red  
npm ERR! code ETIMEDOUT  
npm ERR! syscall connect  
npm ERR! errno ETIMEDOUT  
npm ERR! network request to [https://registry.npmjs.org/node-red](https://registry.npmjs.org/node-red) failed, reason: connect ETIMEDOUT 104.16.23.35:443  
npm ERR! network This is a problem related to network connectivity.  
npm ERR! network In most cases you are behind a proxy or have bad network settings.  
npm ERR! network  
npm ERR! network If you are behind a proxy, please make sure that the  
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\R941224o\AppData\Local\npm-cache\_logs\2022-02-23T22\_45\_06\_995Z-debug-0.log

* * *

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [24 February 2022 00:07 UTC](https://discourse.nodered.org/t/node-red-installation-fail-windows-server-2019-via-rdp/58899/2 "2022-02-24T00:07:18Z")

</div>

The error implies your windows machine is failing to connect to [npmjs.org](http://npmjs.org) to download the packages required to install Node-RED.

You need to look at your network for errors or most likely a firewall and what proxy settings are required to allow access to the outside world.

If the machine has no internet access then you are not going to be able to install anything.

You might be able to do the install on a connected machine and copy the files over.

---

<div class="post-metadata">

**Author:** ![BrallanH2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/brallanh2/32/40801_2.png) [@BrallanH2](https://discourse.nodered.org/u/BrallanH2)\
**Post date:** [24 February 2022 15:05 UTC](https://discourse.nodered.org/t/node-red-installation-fail-windows-server-2019-via-rdp/58899/3 "2022-02-24T15:05:58Z")

</div>

Thank you for your reply. I thought that maybe the internet being blocked was the case. I manually copied Node.js installer. In the past I never had the problem because with internet access it's easiest to download directly since the files are compact.

I've created an account at NPM. I'm going through the help about manual installation. I'm not sure that I'm in the right place and the terminology is a little confusing.

Can you help me to find documentation about manually copying files for Node-Red installation?

I have Node-red installed on Windows and linux machines at my location. I've installed and used Node-red before. I develop on machines with Node-red and internet access. I'm trying to install on a customer machine that is in their Plant Controls Network that has limited access outside that mostly to a DMZ.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [24 February 2022 15:29 UTC](https://discourse.nodered.org/t/node-red-installation-fail-windows-server-2019-via-rdp/58899/4 "2022-02-24T15:29:01Z")

</div>

No, nothing on npm will help you here.

Best I can do is suggest you do a local (not global) npm install into a known directory

```auto
mkdir temp
cd temp
npm install node-red

```

Then zip up the temp directory copy it over to the unconnected machine and unzip it.

You can then try starting it by running:

```auto
cd temp
node_modules\.bin\node-red.bat

```

But you are going to have other problems, once installed it will be hard to install any extra nodes as the catalogue manager will not work.

You will need a connected machine to install the modules then zip up the content of the userDir and copy that over as well.

I believe others have got this sort of thing to work, but it would be a lot easier if you could set the machine up with it connected to the internet first, then move it to the air-gapped network.

---

<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:** [25 March 2022 00:40 UTC](https://discourse.nodered.org/t/node-red-installation-fail-windows-server-2019-via-rdp/58899/5 "2022-03-25T00:40:03Z")

</div>

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