I started my server with
forever start start.js
And it runs normally, when I tried to stop it with
forever stopall
It removes from forever list
as it should
But when I run lsof -i tcp:3000
my server still appears
I tried to use kill -9 PROCESS_PID
but the process comes back with a different pid, and my server still running
Can anyone help me with this? Thanks.
If it is the only process running.
You can use, forever stop 0