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

Consider parameterizing and/or using a different port (other than 5000) for dev install #8708

Open
bpow opened this issue May 14, 2024 · 0 comments

Comments

@bpow
Copy link
Contributor

bpow commented May 14, 2024

Working through the instructions for Installing h in a development environment in mac os leads to multiple errors at the make dev step which include that the root of these errors is [gunicorn.error:ERROR] Connection in use: ('0.0.0.0', 5000).

On macos, the system by default starts a listener at port 5000 for airplay. While not a "registered port", it is also used by many other systems e.g., for UPnP.

This of course doesn't affect running things under docker (where the ports are mapped differently), but makes it so that the above instructions cannot be followed directly for a substantial number of potential dev systems.

Ideally this would be controlled by an env parameter so developers could choose their own available port.

Another possibility would be to prepare instructions for a dev environment that runs everything (even the main app code, not just the services) within docker containers.

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