Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve warning message if port needs admin permissions to bind #2516

Closed
levrik opened this issue Jun 11, 2017 · 0 comments
Closed

Improve warning message if port needs admin permissions to bind #2516

levrik opened this issue Jun 11, 2017 · 0 comments

Comments

@levrik
Copy link
Contributor

levrik commented Jun 11, 2017

On Linux (and on WSL too) it requires admin permissions to run a server on a port under 1024.
Currently CRA just shows the message that there's already something running on that port if you try to do so without sudo or not as root.
I'm shifting my development stuff to WSL on Windows at the moment and didn't know that so it would be nice to show another message in this case.

For example:

? Admin permissions are needed to run a server on a port below 1024.
Would you like to run the app on another port instead? (Y/n)

ref #2512

@levrik levrik closed this as completed Jun 11, 2017
@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant