Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Connecting to the virtual desktop from the VMware View Client fails with the error: Virtual Desktop in not available
Symptoms
- Connecting to the virtual desktop from VMware View Client fails.
- You see the error:
Virtual Desktop is not available
- When viewing the virtual desktop in the View Admin console in Desktop Sources View, the virtual machine status shows as:
Waiting for Agent
Resolution
This issue may occur if:
-
The Agent is not installed or if the version is not the same as the Connection Server.
-
The virtual desktop cannot communicate with the Connection Server over port 4001.
To resolve this issue, ensure that the Agent is installed and that the version is the same as the Connection Server. If installing the correct version of the Agent does not resolve this issue, verify that the Virtual Desktop can communicate to the Connection Server over port 4001.
Ports required from Client to Agent without Security Server are:
- 3389 - RDP
- 50002 - PCoIP
- 4172 - PCoIP (View 4.6)
- 4001 -JMS
Port required from Client to Agent with Security Server is:
- 80 - HTTP & 443 to Security Server
To verify that the virtual desktop can communicate to the Connection Server over port 4001:
-
Click Start > Run, type cmd, and click OK.
-
Run this command to perform a netstat on the Virtual Desktop:
netstat -an
If there is a connection between the local address and the Connection Server, the output looks similar to:
Proto Local Address Foreign Address State
TCP "IPOfVirtualMachine:random Port" "IP of the Connection Server:4001 ESTABLISHED
-------------------------------------------------------------------------------
Note: Connectivity can be also tested by performing a netstat on the Connection Server. In this case, t he output looks similar to:
Proto Local Address Foreign Address State
TCP "IP of the Connection Server:4001 "IPOfVirtualMachine:random Port" ESTABLISHED
------------------------------------------------------------------------------- - Run this command to test if the port is open and accessible from the virtual desktop:
telnet <ipaddress> 4001
If you receive a connection error, check for a firewall enabled on the virtual desktop, Connection Server, or in the network infrastructure between the two points.
Additional Information
Also, check if :
- You can RDP from the Connection Broker to Agent
- The View connection service is running on the Connection Server.
Tags
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Product Family:
- Product(s):
- Product Version(s):

