change the localhost port react runs on code example Example: react set port "start": "set PORT=3006 && react-scripts start"