kill node js port code example Example 1: kill all node processes killall -s KILL node Example 2: stop npm server npm run react-scripts start