I am not able to run many project in 3000 port at the same time.
How can I change react port for run multiple react project at the same time. Any solution for this problem?
Show this message:
Something is already running on port 3000.
I am not able to run many project in 3000 port at the same time.
How can I change react port for run multiple react project at the same time. Any solution for this problem?
Show this message:
Something is already running on port 3000.
2
Answers
Try changing the "scripts" section in your package.json, in the "start" also set the environment variable PORT with a value different than 3000:
If React app created with Vite, add port to server block in
vite.config.js
.