The vSphere Client, vSphere Web Client, and VMware Host Client allow you to open and close firewall ports for each service or to allow traffic from selected IP addresses.
ESXi includes a firewall that is enabled by default. At installation time, the ESXi firewall is configured to block incoming and outgoing traffic, except traffic for services that are enabled in the host's security profile. For the list of supported ports and protocols in the ESXi firewall, see the VMware Ports and Protocols Tool™ at https://ports.vmware.com/.
The VMware Ports and Protocols Tool lists port information for services that are installed by default. If you install other VIBs on your host, additional services and firewall ports might become available. The information is primarily for services that are visible in the vSphere Client and vSphere Web Client but the VMware Ports and Protocols Tool includes some other ports as well.