# Node red multiple instances

**URL:** <https://discourse.nodered.org/t/node-red-multiple-instances/9787>\
**Category:** Core Development\
**Created:** [5 April 2019 06:09 UTC](https://discourse.nodered.org/t/node-red-multiple-instances/9787 "2019-04-05T06:09:51Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Lupin\_III](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lupin_iii/32/67650_2.png) [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Post date:** [4 March 2020 17:03 UTC](https://discourse.nodered.org/t/node-red-multiple-instances/9787/11 "2020-03-04T17:03:05Z")

</div>

Hi, could you please explain how to set NSSM to run two separate instances at boot in windows 10?  
I've tryed several ways without success. Till last week I just run node-red at boot with NSSM without problem, now I need to run a different node-red instance on the port 1881. By the command line it's not a problem (node-red -p 1881 -u c:/....", infact I created a dedicate folder that has been populated with it's own files as suggested on the previous posts. I even modify the settings.js file inside this folder changin the "uiPort: process.env.PORT || 1881"  
But I'm not able to make this service running.  
I configure it as following:  
Path: C:\Users\1\AppData\Roaming\npm\node-red.cmd  
Startap directory: C:\Users\1.node-red-two  
Arguments --settings "C:\Users\1.node-red-two\settings.js" \> "c:\temp\node-red\node-red-two.log"  
for what I've understood the problems is the node-red.cmd file called inside the path.  
Could someone please help me? Should I create a new path? Which files should I copy in and how modify them?  
Many thanks

---

_[View the full topic](https://discourse.nodered.org/t/node-red-multiple-instances/9787)._
