Port information and communication details with the vCenter Server and the end point VMs for agent installation from the UI and script-based agent install is detailed on this page.
For the latest port information, see https://ports.esp.vmware.com/home/vRealize-Operations-Manager.