listen on IPv6 socket
warner opened this issue · 3 comments
warner commented
magic-wormhole/magic-wormhole#354 points out that we're not currently listening on a v6-capable socket. We're using endpoints.serverFromString("tcp:4000") to create the listening socket, but maybe there's a different form we should use to get a v4+v6 listening socket.
warner commented
oops, nope, that fix was wrong. It gives us an IPv6-only server.
warner commented
In particular, it only listened on the ipv6 loopback interface. I should have used ::
instead of ::1
.
warner commented
Ok, that fixes it properly.