I recently changed my home-network to IPv6 only with NAT64 and DNS64 at the edge (why? because I can...)
Now: Looks like the "Host IP" field in Octoprint Connectivity check only accepts IPv4 addresses. "Test name resolution" works fine, but when I (for example) enter 2620:fe::fe and port 53 in "Host IP" and click "Test host & port" it says "server is not reachable". Using "host octoprint.org 2620:fe::fe" from the commandline shows it is reachable...
Solution of course is to switch off connectivity check...
A pair (host, port) is used for the AF_INET address family, where host is a string representing either a hostname in internet domain notation like 'daring.cwi.nl' or an IPv4 address like '126.96.36.199', and port is an integer.
For IPv4 addresses, two special forms are accepted instead of a host address: '' represents INADDR_ANY, which is used to bind to all interfaces, and the string '' represents INADDR_BROADCAST. This behavior is not compatible with IPv6, therefore, you may want to avoid these if you intend to support IPv6 with your Python programs.
For AF_INET6 address family, a four-tuple (host, port, flowinfo, scope_id) is used, where flowinfo and scope_id represent the sin6_flowinfo and sin6_scope_id members in struct sockaddr_in6 in C. For socket module methods, flowinfo and scope_id can be omitted just for backward compatibility. Note, however, omission of scope_id can cause problems in manipulating scoped IPv6 addresses.
Changed in version 3.7: For multicast addresses (with scope_id meaningful) address may not contain %scope_id (or zone id) part. This information is superfluous and may be safely omitted (recommended).
OctoPrint uses the first section for its connectivity check, so maybe it doesn't work for IPv4 addresses.
Sorry, thats rubbish. My 5 RasPis do all fine in an IPv6 only network. But thats not the topic here. This is only about OctoPrint and if the connectivity check entry field can also take an IPv6 address.
Indeed. When I ssh into my raspi it greets me like this:
Access OctoPrint from a web browser on your network by navigating to any of:
https is also available, with a self-signed certificate.