
Remove the IP addresses that is defined for the machine machine2 in the desktop pool dtpool2. vdmadmin -A -override -list -d dtpool2 -m machine2 vdmadmin -A -override -i 10.20.54.165 -d dtpool2 -m machine2ĭisplay the IP addresses that are defined for the machine machine2 in the desktop pool dtpool2. Override the IP address for the machine machine2 in the desktop pool dtpool2. You can use the vdmadmin command with the -A option to override the IP address reported by Horizon Agent. In this case, the vdmadmin command can be a lifesaver. If the address of a machine that Horizon Agent reports does not match the defined address, you cannot use Horizon Client to access the machine. In secure configurations where the Connection Server instance cannot trust the value that Horizon Agent reports, you can override the value provided by Horizon Agent and specify the IP address that the managed machine should be using. The Horizon Agent reports the discovered IP address of the machine on which it is running to the Connection Server instance. However, what if your connection server does not have a route to that internal network represented by the local IP address? It can cause issues as the Horizon Connection Server attempts to make connection with the private IP reported by the Horizon Agent. The VMware Horizon Agent reports the actual IP address back to the Horizon Connection server that is local to the machine itself. VMware Horizon Agent Endpoints with NAT translation It will either error or give a message that there are no sessions available. Physical machines also do not like to have a user logged into the console and then a connection attempt from Horizon. However, it is worth trying if you are having weird issues not being able to connect to physical workstations with the Horizon agent installed. This has been tested with Horizon 7 only and may not be needed with Horizon 8. With physical machines, I have had to implement a registry key in some environments for connecting successfully to remote physical workstations. Is the agent service running? Is the machine down? If the machine exists on a separate network, do you have network level connectivity to the machine in question? Is NAT in play? Check the status of an agent in the Horizon console VMware Horizon Agent physical machines

At that point, you need to figure out why the Horizon Connection server cannot “see” the agent. If the agent is unreachable, the client will never be able to connect. Note what the status is for the Desktop machine configured for the desktop pool. Next, look at the specific Desktop pool > Machines. If you have already ruled out the obvious reasons for connectivity issues, such as changing a firewall rule and other clients are connected just fine, you most likely do not have a global issue with the environment. There are a few obvious things to check when users have VMware Horizon Client error couldn’t connect to server. Horizon client connecting to UAGs VMware Horizon Client Error Couldn’t Connect to Server

In the first image, we have a Horizon Client connecting directly to Horizon Connection Servers. How does traffic flow from the outside to your Horizon desktop? Are UAGs in play, Load Balancers, VIPs, multiple Horizon connection servers? Also, what is the state of the agent on the endpoint machine.Īlso, just basic troubleshooting methodologies here, but was the target machine working and then stopped? What has changed, anything? Note the architecture of the below diagrams. In order to troubleshoot Horizon effectively, you need to know your architecture in the Horizon environment. Let’s take a look at VMware Horizon Client Error couldn’t connect to server and see some common troubleshooting steps you may need to take to resolve your connectivity issue. With that being said, issues may arise from time to time where your end-users may not be able to connect to the target machine in their desktop pool, whether virtual or physical. VMware Horizon is able to connect remote workers to VDI environments and even physical machines. Many organizations are making use of VMware Horizon as the solution to enable a successful, effective, and efficient remote work environment.
