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

Impossible to bind to a IPv6 only hostname? #78

Open
nobrowser opened this issue Dec 9, 2023 · 0 comments
Open

Impossible to bind to a IPv6 only hostname? #78

nobrowser opened this issue Dec 9, 2023 · 0 comments

Comments

@nobrowser
Copy link

I have a VPS with just one IPv4 address but many IPv6 addresses (I think this is quite common). So, I defined an AAAA record in my domain like gemini.example.com , with no corresponding A record. Then I tried to run jetforce with --host gemini.example.com and it was quite unhappy:

twisted.internet.error.CannotListenError: Couldn't listen on gemini.example.com:1965: [Errno -5] No address associated with hostname.

When I replace the hostname with the literal IPv6 address it works perfectly.

Maybe this is a twisted issue, or maybe jetforce needs to tweak how to use twisted to get the address and its family, I don't know which.

--
Ian

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