I have one win2k16 VM, when I ping it locally, it returns always IPv6. I -disabled the IPv6 stack on the NIC, - did ipconfig /flushdns so many times, - downloaded and applied a fix from MS
Prefer IPv4 over IPv6 in prefix policies
at https://support.microsoft.com/en-us/help/929852/how-to-disable-ipv6-or-its-components-in-windows
still when pinging locally the response is
::1
When I ping from any other machine I get the IPv4
localhost
is::1
and you need to deal with this now instead of trying to hide from it. – Michael Hampton