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

Port 5000 can cause problems with Kitematic #9

Open
scytacki opened this issue Mar 15, 2017 · 0 comments
Open

Port 5000 can cause problems with Kitematic #9

scytacki opened this issue Mar 15, 2017 · 0 comments

Comments

@scytacki
Copy link
Collaborator

Kitematic has a hardcode list of 'web ports', and 5000 is on that list:
https://github.com/docker/kitematic/blob/e40ba41f1b2d623636241162df0b44178a685af6/src/utils/Util.js#L215

When you open a container with one of those ports exposed, Kitematic tries to open a Web Preview of the container. Sometimes this causes the unison container to crash.

Since the port 5000 seems arbitrary, perhaps it could be changed to something not in that list?
I looked here: https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers and see that 5000 is the default port of Flask which is probably why it is on the Kitematic list.

How about 5333 instead?
It is not assigned in IANA, and is not listed in the wikipedia list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant