-
-
Notifications
You must be signed in to change notification settings - Fork 974
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
Automatically use a different port if port 8080 is in use #1945
Comments
I'm looking at implementing this, but I have some questions. There's a few ways ports can be selected.
Right now what happens is the browser (if the option is chosen) is opened on the port, then the server begins. This change would have to start the server first, then open the browser on the port chosen (especially in the case of port |
Improving the error message to suggest that |
We now have a better error:
|
It's a better error than before, but it doesn't change the motivation behind this issue. |
Coming soon in 0.6.2 thanks to #3586 |
Specific Demand
If there's already another http server using port 8080, running
dx serve
(on the Web app) fails:Implement Suggestion
If
8080
isn't available, try using8081
. If that's not available, use8082
, etc. I'm pretty sure Webpack does this and it's convenient.The text was updated successfully, but these errors were encountered: