Post

React Project Specify Port

package.json

1
"start": "PORT=3006 react-scripts start"

or

1
"start": "export PORT=3006 react-scripts start"
This post is licensed under CC BY 4.0 by the author.