My setup details:
I have nginx listening on port 80 and i have proxy pass the url to localhost:1880
I have Node-red installed and started with pm2 using follwoing command:
pm2 start npm --name "Node-Red" -i 0 -- start
Netstat output:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1168/nginx: master
tcp 0 0 0.0.0.0:1880 0.0.0.0:* LISTEN 7705/node-red
node-red is already running and listening on that port, so you can't start another instance of it listening on the same port.
In above sentence, you said that "you cant start another instance when node red is already listening on that port"
So how will i know that another instance is getting started.
Oh, I assumed that you were trying to start it manually. Do you mean that it keeps trying to start another instance of node-red but you don't know what is doing it?