I was trying on VMs on ESX. I have the firewall disabled on the two machines but it still does not work.
When I try using the same configuration on two laptops connected to a cheap China router, it works even with the windows firewall on.
Then it's likely a problem with your VMware environment.