Hello anonymous user,
Based Upon the information provided.
You'll find the list of all ports over here:
Service overview and network port requirements for Windows
How to configure a firewall for Active Directory domains and trusts
Also Below are the commonly required ports to communicate with DCs.
UDP Port 88 for Kerberos authentication UDP and TCP Port 135 for domain controllers-to-domain controller and client to domain controller operations.
TCP Port 139 and UDP 138 for File Replication Service between domain controllers.
UDP Port 389 for LDAP to handle normal queries from client computers to the domain controllers.
TCP and UDP Port 445 for Replication, User and Computer Authentication, Group Policy, TCP and UDP Port 464 for Kerberos Password Change TCP Port 3268 and 3269 for Global Catalog from client to domain controller.
TCP and UDP Port 53 for DNS from client to domain controller and domain controller to domain controller.
The ephemeral ports are required:
•TCP & UDP 1025-5000
•TCP & UDP 49152-65535
And see if it helps,
Thank you
------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--