# Running Multiple Instances of Node-red using NSSM

**URL:** <https://discourse.nodered.org/t/running-multiple-instances-of-node-red-using-nssm/57127>\
**Category:** General\
**Created:** [24 January 2022 08:39 UTC](https://discourse.nodered.org/t/running-multiple-instances-of-node-red-using-nssm/57127 "2022-01-24T08:39:49Z")\
**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:** [24 January 2022 08:46 UTC](https://discourse.nodered.org/t/running-multiple-instances-of-node-red-using-nssm/57127/2 "2022-01-24T08:46:07Z")

</div>

Assuming you setup your folders like described in that thread (a few posts above the one you linked to) ([this post](https://discourse.nodered.org/t/node-red-multiple-instances/9787/7)) then you would set your NSSM commands to run each instance in the same way as if you were running it from a cmd window

example...

NSSM1: `node-red -p 1880 -u c:/node-red-1880`  
NSSM2: `node-red -p 1881 -u c:/node-red-1881`  
NSSM3: `node-red -p 1882 -u c:/node-red-1882`

etc etc

Just be sure that the account that runs the NSSM service has read/write access to these folders.

---

_[View the full topic](https://discourse.nodered.org/t/running-multiple-instances-of-node-red-using-nssm/57127)._
