Default port is 3000 for react app. To change it modify the following part of package.json:
"start": "react-scripts start"
For windows:
"start": "set PORT=8086 && react-scripts start"
For Linux and MacOS to:
"start": "PORT=8086 react-scripts start"
No comments:
Post a Comment