Skip to content

configure services to listen on ip v4 or ip6 or both #6595

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

Open
n1ru4l opened this issue Mar 10, 2025 · 0 comments
Open

configure services to listen on ip v4 or ip6 or both #6595

n1ru4l opened this issue Mar 10, 2025 · 0 comments
Labels
enhancement New feature or request that adds new things or value to Hive good first issue Good for newcomers help wanted Extra attention is needed improvement

Comments

@n1ru4l
Copy link
Contributor

n1ru4l commented Mar 10, 2025

We want to allow people to configure whether they want to support ipv4, ipv6 or both for a web server using environment variables.

SERVER_HOST -> 0.0.0.0 or 127.0.0.1 (implies ipv4)

SERVER_HOST -> localhost (implies ipv4 and ipv6)

SERVER_HOST -> :: (implies ipv4 and ipv6)

SERVER_HOST -> ::1 (implies ipv6)

SERVER_HOST_IPV6_ONLY -> 1 or 0 (to avoid binding to ipv4 with ::)

See table in https://fastify.dev/docs/latest/Reference/Server/#listentextresolver

This should also be documented within our self-hosting docs.


Closes #2572

@n1ru4l n1ru4l added enhancement New feature or request that adds new things or value to Hive help wanted Extra attention is needed good first issue Good for newcomers labels Mar 10, 2025
@linear linear bot added the improvement label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request that adds new things or value to Hive good first issue Good for newcomers help wanted Extra attention is needed improvement
Development

No branches or pull requests

1 participant