jetforce icon indicating copy to clipboard operation
jetforce copied to clipboard

Impossible to bind to a IPv6 only hostname?

Open nobrowser opened this issue 1 year ago • 0 comments

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

nobrowser avatar Dec 09 '23 05:12 nobrowser