I have been working with a node.js project for a few weeks and it has been working great. Usually, I use npm start to run my app and view it in a browser on loc
npm start
You can search on how to kill that process.
For Linux/Mac OS search (sudo) run this in the terminal:
(sudo) run
$ lsof -i tcp:3000 $ kill -9 PID
On Windows:
netstat -ano | findstr :3000 tskill typeyourPIDhere
change tskill for taskkill in git bash
tskill
taskkill