I've got a very weird error in a server. It is a Windows Server 2012 R2 Standard Domain Controller (primary) running in VMware ESXi 6.0 U2. It has DNS, DHCP and some file shares. The error is that it can't establish any outgoing TCP connection, neither local, lan or wan. Ping and UDP works fine (as it is DNS server, I see UDP DNS packets flowing in the firewall). Incoming connections works fine too. For example, if I do a
telnet 127.0.0.1 3389 it doesn't anwser, I got the standard error message "Connecting To 127.0.0.1...Could not open connection to the host, on port 3389 : Connect failed", but I am connected to it through RDP.
For the record, no third-party anti-virus installed, I tested disabling the firewall, routes are normal, there are no signs of TCP port exhaustion (there are almost no connections above port 50000).
I don't know if its related, but I have a script which downloads a page daily, the command is
powershell -ExecutionPolicy unrestricted -Command "(New-Object Net.WebClient).DownloadString(\"http://google.com\")" (with another url, obviously). When it runs, it gets a OutOfMemoryException, but the server is with 8 GB and only 2.9 GB in use.
Thanks in advance for all help provided.