-
Notifications
You must be signed in to change notification settings - Fork 337
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
Router doesn't listen op IPv6 addresses with wildcard configuration #1555
Comments
Indeed.
What it really means is it listens on the 'unspecified address', of course this address is different for IPv4 & IPv6. Now I suppose it could be interpreted to mean listen on the 'unspecified address' of both IPv4 & IPv6. But then it's current meaning could also be argued as correct as It was also possibly thought it better to keep IPv4 and IPv6 address specifications separate, precisely so that For that reason I'm not sure we'd change its behaviour now... So as you discovered to have Unit listen on port 8080 on both IPv4 & IPv6, you will need two listen directives (actually this is same as for nginx). Where for IPv4 you can use either |
Thank you for the clarification. I think it would be helpful to have a way to specify a listen address with a "real wildcard" that allows for IPv4 and IPv6 listening, just to remove duplication in the configuration (se the linked MR). For now I will use two listeners. |
If we were to implement this, probably something simply like |
Bug Overview
When I configure a listener with
*:8080
unitd only listens on0.0.0.0:8080
and not on:::8080
.The documentation states the following:
A wildcard that matches any host IPs on the port: *:80
Expected Behavior
unitd listens on all configured IP addresses.
Steps to Reproduce the Bug
Minimal configuration example:
Environment Details
Additional Context
No response
The text was updated successfully, but these errors were encountered: