Oh, is the port not optional here? Make sure it defaults to 25565 if no port is specified.