This is a short post because I came across a really useful link to a PDF document showing how vCenter and ESXi are connected. This shows what ports and what direction the ports travel which is really useful to understand the internal and external communication with explanations for each port.
Link
Downloadable PDF within the KB
https://kb.vmware.com/s/article/2131180