This issue is is caused by a resource leak in the Common Agent Framework (CAF) provided in VMware Tools 10.2.0. CAF provides the basic services necessary to simplify secure and efficient management of agents inside the guest virtual machines.
This issue will be seen as unclosed socket connections causing port exhaustion. RDP to the machine will not work and any email clients also will not make any outbound connections, while ping may work. The issue might occur every 1 to 4 days.
Resolution
To resolve this issue upgrade to VMware Tools 10.2.5, available at VMware Downloads.
Workaround: To workaround this issue set the CAF service to manual:
Open an elevated command prompt in the affected virtual machine.