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

Unable to bind to IPv6 address #30

Open
data-niklas opened this issue Jul 15, 2023 · 1 comment
Open

Unable to bind to IPv6 address #30

data-niklas opened this issue Jul 15, 2023 · 1 comment

Comments

@data-niklas
Copy link

Hi,
I am using nix-serve-ng in a flake. Setting services.nix-serve.bindAddress to any IPv6 address fails. I assume that the parser finds the port by parsing until it detect a ::

parseHost = do

Maybe the parser could detect a [ and then skip the : check until it detects the matching ] of the IPv6 address.

(I am trying to bind to the IPv6 interface of a VPN)

Thanks.

@Gabriella439
Copy link
Collaborator

I'd accept a PR to fix this

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

2 participants