Active Directory Ports: Service and network port requirements for Windows

Active Directory

Active Directory communication involves the following ports and as a system administrator, you must be familiar with some of the following ports already. Enterprises use Active Directory for authentication, server and workstation management, group policy management, etc. In this guide, the most important network ports, protocols, and services used by Microsoft client and server operating systems, and their subcomponents are listed in the table below. You may want to see the following related guides: Pass-Through Authentication with on-Premise AD, reasons to deploy AADMicrosoft Azure Active Directory: How to setup Azure AD Tenant, and how to set up an Azure AD Tenant,  and how to add a custom domain in the Azure Active directory.

If you enable the Windows Firewall or if there is an external Firewall for your Active Directory Domain Services (ADDS) in this case Domain Controller Server, you need to set up the allowed port for Domain Controller correctly. The table below will show you all ports that are needed for the domain controller.

Network Port Security for Microsoft Server Products

Microsoft server products use a variety of network ports and protocols to communicate with client systems and with other server systems over the network. You need dedicated firewalls, host-based firewalls, and IPSec filters to secure your network. If you configure these technologies to block ports and protocols a specific server uses, it won’t respond to client requests.

Application protocolProtocolPorts
Active Directory Web Services (ADWS)TCP9389
Active Directory Management Gateway ServiceTCP9389
Global CatalogTCP3269
Global CatalogTCP3268
ICMPNo port number
Lightweight Directory Access Protocol (LDAP) ServerTCP389
LDAP ServerUDP389
RPC randomly allocated high TCP ports¹TCP1024 – 5000
49152 – 65535²

The LSASS process runs Active Directory, requiring specific port connections between domain controllers and client servers on TCP ports 1024 to 65535. You may want to see visit this link for more information.

I hope you found this blog post helpful. Please let me know in the comment session if you have any questions.

Notify of

1 Comment
Newest Most Voted
Inline Feedbacks
View all comments
1 year ago

keren banget mantap

Would love your thoughts, please comment.x