Can not realize distributed training across machines with DDP

I think the problem is your firewall. Try this.