In my centos server, I have an API with node js and I started with pm2. pm2 status is online and It works correctly. but when server reboot, can't connect to the API although pm2 status is online. I also try start node js like below
pm2 start index.js
pm2 startup
pm2 save
but It does not work until I restart pm2 .. how can I fix it?