If port is already being used then start server on a different port.
See original GitHub issueCurrently if I already have a different server listening on port 3000 then react-scripts start
still starts up and says The app is running at http://localhost:3000/
, but it’s actually not.
It should either fail to start up (in which case there should be a way to manually specify a different port) or automatically pick an available port.
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Port is Already in Use Error when Starting Server
Change the Server Port in the Application Server Control Panel and start the server. Specify a port that is not 80, such as...
Read more >keep getting "? Something is already running on port 3000 ...
After running the command npm start and typing y to try to use a different port, the terminal will stay stucked until it...
Read more >How to Check if a Port Already in Use - Thales
Configure Sentinel LDK-EMS to use a different port. >Configure the blocking application to run on a different port. >Remove and then reinstall ...
Read more >Web server failed to start Port 8080 was already in use
In our case, port 8080 was already being used by another application and hence the web server failed to start. Usually, you would...
Read more >The binding is already being used by a product other than IIS
You can use netstat command to verify what is holding the port 4430 on server and output to a text file (i.e netstat...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be nice if you could specify the port too.
I think it should ask:
Something is already running at http://localhost:3000. Would you like to run the app at another port instead? [Y/n]