...
A Client Error message will appear as you fail to connect to a horizon desktop:"VDPCONNECT_CONN_REFUSED: The connection to the gateway or the remote computer was refused. This could be because the protocol service is not running or the protocol service port is blocked by a firewall. If the issue persists, please contact your system administrator."Horizon Client logs and Horizon MKS logs, with the latest cross-platform client release, contain a keyword Blast_Connect_Failure_Alert to aid in expedited failure diagnosis.Log Location: Location of Horizon (VDM) log files (1027744) vmware-mks-<pid>.log 2023-02-24T20:54:38.007Z In(05) blastSocket [BlastSocketClient] BlastSocketClientConnectFailureAlert: Could not connect to Desktop. 2023-02-24T20:54:38.007Z In(05)+ blastSocket Blast_Connect_Failure_Alert: Reason: VDPCONNECT_CONN_REFUSED (37) 2023-02-24T20:54:38.007Z In(05)+ blastSocket Blast_Connect_Failure_Alert: host:X.X.X.X port: 22443 httpProxy:null fqdn:null 2023-02-24T20:54:38.007Z In(05)+ blastSocket Blast_Connect_Failure_Alert: error: 6 detailed: 10061 httpStatus: 0 ClientContext:21592CFDEF0 vmware-horizon-viewclient-<nnn>.txt 2023-02-24T12:54:38.008-08:00 WARN (01) [libsdk] : RMKSWindow::OnConnectionStateChanged:2352: Blast_Connect_Failure_Alert: (22FA285B230) disconnected with VDPCONNECT_CONN_REFUSED error: 'VDPCONNECT_CONN_REFUSED: The connection to the gateway or the remote computer was refused. This could be because the protocol service is not running or the protocol service port is blocked by a firewall. If the issue persists, please contact your system administrator.'.
VDPCONNECT_CONN_REFUSED, in most scenarios, translates to a Windows Sockets Error Code of - WSAECONNREFUSED. Please see Windows Sockets Error Codes for a full description of this return code.Scenarios that could trigger this error include, but are not limited to, the Horizon Client connection failing because there is no service running on the port the client is trying to connect to resulting in TCP RST or ICMP port unreachable response being received from an intermediary firewall that blocks the port. Typically,this usually results from trying to connect to a service that is not running.
The VDPCONNECT_CONN_REFUSED error typically indicates that a socket connection attempt has failed because the service is not available on the target device. Here are some steps to troubleshoot this error:Client Side - End User Perspective: Do you have general internet or intranet connectivity on the device?Are other corporate resources available and accessible?Can you reach the address configured for your horizon client via a Browser? Troubleshooting Steps for a Horizon Administrator: Inspect your Firewall for any issues in relation to the successful connection of Horizon Client Traffic.Ensure your Horizon devices, Unified Access Gateway and Horizon Servers are healthy and functional with all appropriate services running. Ensure all basic connectivity checks are performed between the components involved: Horizon Client & agent machine and any devices in its path. Make sure that the hostnames and IP addresses are correct and can be resolved properly.Check the network connection utilizing tools such as ping, telnet.Verify DNS Resolution utilizing tools such as nslookup .Check network device settings: Verify that any firewall, load balancer, every network device in the path of each component can effectively route client traffic.If this is isolated to a particular client machine and the connection is successful with different machines on the same network, verify the Clients guest o/s proxy configurations, local firewall and antivirus setups.Similarly, ensure any global proxy settings are correct and all appropriate ports are open. For the latest Ports guidance please refer to Horizon - Ports and Protocols.Check all the relevant hardware involved in the connection path utilizing the event viewer and system logs to ensure no faulty cable, network port or system hardware on the client or along the connection path is contributing to the issue.
This is a child article of Enhanced Horizon Blast Error Codes with Horizon Client 2303 and Later (91013)