To change port when running npm start for your react app you need to add PORT=XXXX to your package.json like this ... "scripts": { "start": "PORT=8000 react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, ... Facebook Twitter Reddit