sakh251:

Does the code need super admin premision?


IIUC, the code will open random ports on both master and worker and then use those ports for communication. So I guess there an be permission issues here? @lcw have you seen anything similar before?
One way to test whether this is RPC-specific issue or permission issue is to call init_process_group 1 manually, and see if it works. You can use this short DDP example 11. Since this code path is widely used and better tested than RPC, if it still fails with same error, I would assume there are some permission/firewall issue that needs to be addressed.