npm run build specify port code example Example: react set port "start": "set PORT=3006 && react-scripts start"