Here you go for WSUS
https://learn.microsoft.com/en-us/windows-server/administration/windows-server-update-services/deploy/2-configure-wsus#213-connection-between-clients-windows-update-agent-and-wsus-servers
and others listed here.
https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/service-overview-and-network-port-requirements
--please don't forget to Accept as answer
if the reply is helpful--