Email Ports
Email relies on a collection of protocols for sending and receiving messages between servers and clients. Understanding the differences — particularly between the deprecated plain-text ports and their secure TLS equivalents — is essential for email configuration and security hardening.In Microsoft 365 and Google Workspace environments, standard SMTP relay uses port 587 with TLS and modern authentication. Port 25 is used exclusively for server-to-server relay. If users cannot send email, first check whether port 587 is open and not blocked by a local firewall or ISP.
Web Ports
Remote Access Ports
Directory Services Ports
Directory services ports are critical in Active Directory and LDAP environments. Firewall rules for domain controllers, application servers, and client devices must permit these ports.Microsoft’s guidance for Active Directory firewall port requirements is detailed at
https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/config-firewall-for-ad-domains-and-trusts. In addition to the ports above, RPC dynamic ports (49152–65535) are required for domain controller communication unless the RPC port range is restricted via registry.