specify the port in react scripts code example Example: react set port "start": "set PORT=3006 && react-scripts start"