The router resolves it to 10.0.0.2 at the DNS level and the remote URL already carries :2222, so the alias was redundant everywhere and wrong on mainframe, where it pointed at localhost. Verified: connecting with -F /dev/null succeeds from both mainframe and system76.