Required network ports for deploying Virtual Machines from a vSphere Content Library.
search cancel

Required network ports for deploying Virtual Machines from a vSphere Content Library.

book

Article ID: 435367

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Overview

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.

Environment

 

  • VMware vSphere: 6.7, 7.x, 8.x, and 9.x

  • Components: vCenter Server Appliance (VCSA), ESXi Hosts, Content Library (Local or Subscribed).

 

Cause

Content Library operations rely on several distinct communication paths:

  1. Management Plane: vCenter to vCenter communication for library synchronization.

  2. Data Plane: vCenter to ESXi or ESXi to ESXi for the actual file movement during VM deployment.

  3. 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.

Resolution

Ensure the following ports are open in your firewall configuration to facilitate seamless deployment:

PortProtocolSourceDestinationPurpose
443TCPvCenter ServervCenter ServerHTTPS access for library synchronization and OVF metadata.
902TCPvCenter ServerESXi HostsRequired for Network File Copy (NFC) to push VM data to the host.
16666TCPvCenter ServervCenter ServerContent Library Service (transfer/sync) between vCenter instances.
16667TCPvCenter ServervCenter ServerContent Library Service (inter-vCenter communication).
80 / 443TCPESXi HostvCenter ServerDownloading OVF/OVA components from the Content Library web server.

Deployment Scenarios

  • 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.