how to stop a node server code example
Example 1: how to stop a node server from running
ps aux | grep node
kill -9 PROCESS_ID
Example 2: node js stop
process.exit();
Example 3: stop npm server
npm run react-scripts start
Example 4: ran ctrl c and npm server is still running
killall node