How to start react application in specific port instead of default port 3000

Using Package.json file in our project 

   "scripts": {

    "start": "PORT=2221 react-scripts start",


From Command Prompt

PORT=3030 npm run start

(OR)

PORT=3030 npm start

Comments

Popular posts from this blog

How to run react project after cloning from git repo

How to start React,Angular and Node Apps