jeudi 9 février 2017

pm2 starting my node js script in fork_mode

Vote count: 0

Hello Stackoverflow Coders, I have 3 node js script with 3 different port numbers on my web hosting account.

Am using PM2 to start the node js script. I have succeded in starting two script using pm2 For example

pm2 start script1.js pm2 start script2.js

the script1.js and script2. js were assigned id 0 and 1 respectively.

but when i tried to start sccript 3, it says

[PM2] Starting /server/script3.js in fork_mode (1 instance) [PM2] Done.

please what could be the issue. how do i start the third script since its port number is different...

Thanks

asked 19 secs ago

Let's block ads! (Why?)



pm2 starting my node js script in fork_mode

Aucun commentaire:

Enregistrer un commentaire