-
Notifications
You must be signed in to change notification settings - Fork 200
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
polymer serve no longer chooses unused ports #2403
Comments
I notice that |
@davidmaxwaterman thanks for filing. I actually can't reproduce on my machine and your version of the CLI:
This may be a windows only bug. I'll try to prioritize this for someone to get on a Windows machine and debug. If anyone else is seeing this please comment and let us know! |
Working as intended with Maybe it's a Node 7 + Windows 10 bug? |
Are you using WSL? I bet it's something to do with the new CU version of Windows recently released. |
I have the same issue on Windows10. Default port is 8081 and if it's used the next ones are 8001 and 8002. Specifying the port with (polymer serve -p 8080) works. I'm using: It started when I updated to Polymer 2.0. |
I've seen this issue in Windows 10 with WSL. node v8.10.0 In the following scenarios:
In the following scenario:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
Running polymer serve more than once used to work because it would choose unused ports, but that no longer happens and it always chooses 8081.
Versions & Environment
Steps to Reproduce
polymer serve&
polymer serve&
Expected Results
The second one should choose a different port to the first one, presumably the 'next' one from this list:
https://github.com/Polymer/polyserve/blob/master/src/start_server.ts#L458
Actual Results
The both choose port 8081.
The text was updated successfully, but these errors were encountered: