When deploying a Virtual Machine (VM) or vApp from a Content Library, especially across different vCenter Server instances or across firewalled network segments, specific ports must be open to allow for synchronization, metadata exchange, and the actual transfer of disk files (OVF/OVA/ISO). Failure to open these ports typically results in "Connection Refused" errors or tasks that hang at 0% during the "Transferring OVF" stage.
VMware vSphere: 6.7, 7.x, 8.x, and 9.x
Components: vCenter Server Appliance (VCSA), ESXi Hosts, Content Library (Local or Subscribed).
Content Library operations rely on several distinct communication paths:
Management Plane: vCenter to vCenter communication for library synchronization.
Data Plane: vCenter to ESXi or ESXi to ESXi for the actual file movement during VM deployment.
Client Plane: vSphere Client to vCenter for initiating the deployment task.
If a firewall sits between the vCenter servers or between the vCenter and the destination ESXi host, these tasks will fail.
Ensure the following ports are open in your firewall configuration to facilitate seamless deployment:
| Port | Protocol | Source | Destination | Purpose |
| 443 | TCP | vCenter Server | vCenter Server | HTTPS access for library synchronization and OVF metadata. |
| 902 | TCP | vCenter Server | ESXi Hosts | Required for Network File Copy (NFC) to push VM data to the host. |
| 16666 | TCP | vCenter Server | vCenter Server | Content Library Service (transfer/sync) between vCenter instances. |
| 16667 | TCP | vCenter Server | vCenter Server | Content Library Service (inter-vCenter communication). |
| 80 / 443 | TCP | ESXi Host | vCenter Server | Downloading OVF/OVA components from the Content Library web server. |
Single vCenter: Ensure vCenter can communicate with its managed ESXi hosts over ports 443 and 902.
Cross-vCenter (Subscribed Libraries): Ensure the "Subscribing" vCenter can reach the "Published" vCenter over 443, 16666, and 16667.
Deployment to Remote Host: The vCenter holding the Content Library must have port 902 open to the destination ESXi host where the VM is being created.
Note: If you are using a "Subscribed" library with the "Download content when needed" setting, the transfer may take longer as the data must first sync to the local vCenter before being pushed to the ESXi host.