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"
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"
react port
// Ubuntu / CentOS / RHEL / MacOS environment:
...
"scripts": {
"start": "PORT=8000 react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test --env=jsdom",
"eject": "react-app-rewired eject"
}
...
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us