magic-wormhole/magic-wormhole-mailbox-server

listen on IPv6 socket

warner opened this issue · 3 comments

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.

oops, nope, that fix was wrong. It gives us an IPv6-only server.

In particular, it only listened on the ipv6 loopback interface. I should have used :: instead of ::1.

Ok, that fixes it properly.