conda-incubator / conda-store

Data science environments, for collaboration. ✨
https://conda.store
BSD 3-Clause "New" or "Revised" License
143 stars 46 forks source link

[BUG] - port 5000 is a problem on MacOS #618

Closed dcmcand closed 10 months ago

dcmcand commented 11 months ago

Describe the bug

Split from #599 References from #566

MacOS uses port 5000 for airplay with new versions of MacOS. This means that running conda-store-server on port 5000 does not work for many users.

Expected behavior

Conda store server works on the default port for all major OS's

How to Reproduce the problem?

Try to run conda-store-server on a recent MacOS machine.

Output

It will fail with a message saying that port 5000 is already in use.

Versions and dependencies used.

No response

Anything else?

No response

trallard commented 11 months ago

Related https://github.com/conda-incubator/conda-store/issues/562

dcmcand commented 11 months ago

Is there any reason not to use 8080 instead of 5000? 8080 is not a privileged port, is not used by OS processes and is officially an alternative port for http.

trallard commented 11 months ago

Not that I know of - the only instance I can think of is to avoid possible Jupyter-related tasks running in 8080 but that really should not matter for conda-store core development Edit: I just remembered JHub stuff runs on 8000 anyway so this should not be an issue