connect to hostname instead of ipv6 address