1st way:
- create .env file
- and write:
PORT=3010
2nd way:
- in the package.json file
- change:
"start": "react-scripts start",
- and type :
"start": "set PORT=3020 && react-scripts start",
1st way:
PORT=3010
2nd way:
"start": "react-scripts start",
"start": "set PORT=3020 && react-scripts start",