How to specify a port to run a create-react-app based project?
Asked 07 September, 2021
Viewed 2K times
  • 55
Votes

My project is based on create-react-app. npm start or yarn start by default will run the application on port 3000 and there is no option of specifying a port in the package.json.

How can I specify a port of my choice in this case? I want to run two of this project simultaneously (for testing), one in port 3005 and other is 3006

22 Answer