Distributed.init_process_group hangs the process

Hi, I am trying to load a model onto two GPUs using DDP. The code below causes the process to hang on Windows 11.

os.environ['MASTER_ADDR'] = '127.0.0.1' #'0:0:0:0:0:0:0:1'
os.environ['MASTER_PORT'] = '12987'
os.environ['RANK'] = '0'
os.environ['WORLD_SIZE'] = '2'

distributed.init_process_group(backend="gloo")

Both address formats, ipv4 and ipv6, cause hang.

Is there a way to fix this?