Windows version is 22621.1265.
I have enabled port 18888 in windows firewall by adding an explicit port rule. I also tried turning off windows defender firewall as well. I think it may be something that my local IT infrastructure has put in place, in which case I have no control over this. The client and the server are running on the same machine. The windows installation is 64 bit.