What ports are needed in order to join to a windows domain? I am getting an interesting message where the server can find the domain controller names, but cannot reach them.

  • 4
    What exactly is the error? What makes you think it's a port issue?
    – Nixphoe
    May 1, 2014 at 20:30

1 Answer 1


Most likely if you are blocking ports on a Windows machine and it has a problem with these ports listed below then you are using a third-party firewall and you will need to reconfigure. As for a Windows machine with the built in firewall, I have never had a problem with the ports being blocked.

The other thing that comes to mind here would be to make sure that you are using a version of Windows that is capable of joining domains (Windows Home Edition cannot).

To answer your questions directly, here are the major ports used in Windows Domains:

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.

TCP and UDP Port 389 for LDAP to handle normal queries from client computers to the domain controllers.

TCP and UDP Port 445 for File Replication Service

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.

ref: http://social.technet.microsoft.com/Forums/windowsserver/en-US/1c6a59de-c1fe-4946-bb4e-1fe36fd40b08/required-ports-to-communicate-with-domain-controller?forum=winserverDS

ref: http://support.microsoft.com/kb/832017#4


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .