This is the same as https://github.com/mobile-shell/mosh/issues/935: If you’re using a Perl version before 5.14, you need the Socket::GetAddrInfo module. Anders