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

Configuration issue involving the server binding #1110

Open
MatzHilven opened this issue Dec 28, 2024 · 0 comments
Open

Configuration issue involving the server binding #1110

MatzHilven opened this issue Dec 28, 2024 · 0 comments

Comments

@MatzHilven
Copy link

Description
The default config contains a slight issue:

# Port on which the server will listen. the server binding is 0.0.0.0:{PORT}

it's saying the http server will bind to 0.0.0.0 by default, instead it binds to localhost. This causes the application not to be exposed in containerized environments.

Expected Behavior

The server should bind on 0.0.0.0 by default, as the comment suggests. Or the binding configuration should be added to the configuration template so it's clearer; the comment should also be updated in this case.

It might be better to go for the first option since this can be a tricky issue to debug.

Environment:
It can be fixed by adding the following in the config.

server:
  # Port on which the server will listen. the server binding is 0.0.0.0:{PORT}
  port: 5150
  binding: 0.0.0.0
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