Showing results for 
Search instead for 
Did you mean: 

Node-red Instances

Node-red Instances



How we can start multiple nod-red instances in ctrlX Core?


Established Member

Just for my curiosity: What would be yoru usecase which requires multiple Node-Red instance? since you can creat ecompletly indepenandt flows in NR I  cuurently only see disadantages:

  • Need for additiona NR licenses
  • Heavy load on the CtrlX resources (NR is a large app()
  • Degradation of performance sinc ethe core is running 2 NR engines
  • Special solution require dto select the right NR instance in the GUI including Dashboard

Community Moderator
Community Moderator

Hi vlad,

this is not possible and not foreseen.

Can you describe your usecase, maybe we can find an alternative solution.



Yes. So we have a partner who want to use our ctrlX Core in their applications.

They asked for Multiple Node-RED instances in paralel. During a normal integration, to keep the things separated and modular,they are using multiple Node-RED instances. I have attached two examples of how they can start them in other installations (including on a raspberrypi pi). This is a feature fully supported by Node-RED. How can we use it to run also on CtrlX?




Community Moderator
Community Moderator

We did some test and you can start your own plain node-RED instance via the following command:

$SNAP/bin/node $SNAP/lib/node_modules/.bin/node-red -p 1881 -u $SNAP_DATA/solutions/activeConfiguration/node-RED1/

This will create a new folder inside of the active configuration (app data) including all project data.
!!! Beware of security risk because open access !!!
With this standard configuration you directly access via IP of the control and chosen port (no reverse proxy) e.g. and you will have no authentication for external access.
There is no warranty or support for this setup.

As addition you can use our adapted settings.json for an integration into the authentication (see attached). Simply create your instance once that the new project folder is available and replace the existing settings file. This will force a user to login when first accessing the node-RED flow editor with username and password via the user management of the ctrlX CORE itself. Or you can add an valid bearer token as parameter to your URL: