How to kill a nodejs process in Linux?

LeBlaireau picture LeBlaireau · Jul 27, 2015 · Viewed 133k times · Source
tcp    0     0 0.0.0.0:80     0.0.0.0:*     LISTEN      9631/node    

How do I kill this process in linux(ubuntu)?

Answer

Krunal Limbad picture Krunal Limbad · May 29, 2017
sudo netstat -lpn |grep :'3000'

3000 is port i was looking for, After first command you will have Process ID for that port

kill -9 1192

in my case 1192 was process Id of process running on 3000 PORT use -9 for Force kill the process