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"
yarn start port
Create a .env file in your project folder
add the line "PORT=3006" inside the file and save
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