I know this has been addressed because I've made it work in the past, so I apologize for rehashing an already discussed topic... but I can't seem to find the instructions again. I've tried multiple times using some of the other methods I've found to get this to work and have done nothing but break Node_Red repeatedly.
I have an AWS server and I need to run 2 instances of NodeRed on 2 different ports. I'm running Ubuntu and using SystemD to autostart Node-Red on boot.
The goal is to have 2 admin panels so that 2 different people can test and develop without having to boot up a second server with its own Node-Red install... and be able to point 2 different domains to the UI of those instances.
I'd like to avoid using PM2 if possible, as I used this method of autostart when I installed: https://nodered.org/docs/hardware/raspberrypi#adding-autostart-capability-using-systemd
I tried the following instructions, but only managed to get an error saying it can't find red.js and Node-Red failed to boot: https://nodesource.com/blog/running-your-node-js-app-with-systemd-part-2/
So I've rolled back... fresh install of Node-Red... What's the easiest way to get 2 instances running on 2 different ports?
Thanks in advance.