96b6ed4916
A loopback test listens on both [::1] and 127.0.0.1 and checks the connection lands on IPv4 although IPv6 is listed first; it fails without the sort. Another checks the fallback to IPv6 when IPv4 refuses. When every address fails, the error is now the first address's (the one vanilla tries) rather than an IPv6 fallback's, which is often only "no route to host". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>