# Install node-red to windows server in different ports

**URL:** <https://discourse.nodered.org/t/install-node-red-to-windows-server-in-different-ports/75627>\
**Category:** General\
**Created:** [23 February 2023 11:21 UTC](https://discourse.nodered.org/t/install-node-red-to-windows-server-in-different-ports/75627 "2023-02-23T11:21:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [23 February 2023 12:11 UTC](https://discourse.nodered.org/t/install-node-red-to-windows-server-in-different-ports/75627/2 "2023-02-23T12:11:11Z")

</div>

> [@mbe23](#):
>
> install node-RED to a windows server in different ports

Are you meaning multiple instances of node-red on ONE Windows Server - each with a different port number?

Or 1 Node-RED on 1 Windows Server with a port different to the default 1880 port?

* * *

Either way, for Windows Server, I would recommend

- NPM Global is moved to somewhere common (e.g. `c:\programdata`)
  - See here: [Running on Windows : Node-RED](https://nodered.org/docs/getting-started/windows#sharing-node-red-between-users)

- separate directories for each node-red instance
  - see this post: [Node red multiple instances - #7 by Steve-Mcl](https://discourse.nodered.org/t/node-red-multiple-instances/9787/7)

- use of NSSM with a service account for running node-red
  - See this post: [Running Multiple Instances of Node-red using NSSM - #2 by Steve-Mcl](https://discourse.nodered.org/t/running-multiple-instances-of-node-red-using-nssm/57127/2)

---

_[View the full topic](https://discourse.nodered.org/t/install-node-red-to-windows-server-in-different-ports/75627)._
