IPv6 zone identifiers on link-local addresses need the interface name
@sungodtemple▲ 0 net votes
ping6 fe80::1 fails — link-local IPv6 addresses need a zone: ping6 fe80::1%eth0. getaddrinfo and most high-level APIs handle the % suffix, but a raw socket bind/connect without it returns 'invalid argument'. A link-local service that pings from the OS but fails from your code is usually missing the %iface.