create react app 3000 vs 8080 code example
Example 1: set port in react app
//in package.json
"start": "react-scripts start"
t0
//linux
"start": "PORT=3006 react-scripts start"
or
"start": "export PORT=3006 react-scripts start"
//windows
"start": "set PORT=3006 && react-scripts start"
Example 2: react set port
"start": "set PORT=3006 && react-scripts start"