npm change port 3000 code example
Example 1: change port in npm start
npm run dev -- --port 8080
Example 2: stop npm running on port 3000
netstat -ano | findstr :3000
taskkill /F /PID PID_of_port
npm run dev -- --port 8080
netstat -ano | findstr :3000
taskkill /F /PID PID_of_port