killed process. but still work the process on ubuntu
Feb 5, 2024
run node server using pm2
node server process must be killed
kill -9 PID
netstat -tulpn
But process again run on 4000 port
We need to root service using ps
ps auxf
pm2 run node server on ubuntu account
so although node process was killed, pm2 execute node server again.
we kill pm2 process
kill -9 PID
netstate -tulpn