Hi all,
I would like use a server with nodered to create more than one projects and user could switch from one project to other opening different web page: 192.168.1.10:1880 or 192.168.1.10:1881 etc.
Is possible to create many folders and in each a nodered project associated with a different port number?
Kind of depends on what platform you are using. PM2 is ok but fairly heavy on resources. NSSM works to turn scripts into Windows services. But if working with Linux, you can simply use a systemd script. My alternate installer has an example of what you can do. Dave's Pi/Debian script also sets up a systemd script I believe. so you can look at those to see what you need to do.
I use PM2 for my dev setup since I know I'll need to keep restarting often and PM2 has a watch function that detects file changes in key files. I use systemd for my "live" home automation server which runs on a Debian based old laptop set up as a headless server.