I didn't find any KB for this specific error so my workaround is to prefer IPv4 over IPV6 + ommit VDM_IP_PROTOCOL_USAGE = ipv4 or i still get this error.
IPv6 Functionality Registry value and comments
Prefer IPv4 over IPv6 Decimal 32
Hexadecimal 0x20
Binary xx1x xxxx
Recommended instead of disabling IPv6.
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v DisabledComponents /t REG_DWORD /d 32 /f
That line added as an application before a restart in the tasksequence to deploy the Connection Server solved the issue (notice the 32 at the end).
Why did i choose ipv4 for Horizon connection server ?
Because i plan to setup trueSSO with Horizon Enrollment server that support only ipv4,
and also because Unified Access Gateway can handle dual ipv4 and ipv6 https://docs.vmware.com/en/VMware-Horizon/2303/horizon-installation/GUID-AE561E5A-786F-4BE5-AB63-1CD...