You build node.js app with express v4.x then start your app by npm start. My question is how to stop the app? Is there npm stop?
kill $(lsof -t -i :PORT_TO_KILL)
simplified version.