Search pages, tools, PowerShell commands and ports
Searchable list of common TCP/UDP ports and what uses them.
| Port | Protocol | Service | Notes |
|---|---|---|---|
| 20 | TCP | FTP dataInsecure FTP active-mode data channel. | FTP active-mode data channel. |
| 21 | TCP | FTPInsecure FTP control channel. Credentials in clear text — prefer SFTP. | FTP control channel. Credentials in clear text — prefer SFTP. |
| 22 | TCP | SSH / SFTP / SCPEncrypted Secure shell and file transfer. | Secure shell and file transfer. |
| 23 | TCP | TelnetInsecure Unencrypted remote shell. Still found on old switches and UPS cards. | Unencrypted remote shell. Still found on old switches and UPS cards. |
| 25 | TCP | SMTP Server-to-server mail relay. Often blocked outbound by ISPs. | Server-to-server mail relay. Often blocked outbound by ISPs. |
| 53 | TCP/UDP | DNS Name resolution. TCP for zone transfers and large responses. | Name resolution. TCP for zone transfers and large responses. |
| 67 | UDP | DHCP server DHCP offers and acknowledgements (server side). | DHCP offers and acknowledgements (server side). |
| 68 | UDP | DHCP client DHCP discover and request (client side). | DHCP discover and request (client side). |
| 69 | UDP | TFTPInsecure PXE boot images, switch and IP phone configs. | PXE boot images, switch and IP phone configs. |
| 80 | TCP | HTTP Web traffic. Should redirect to HTTPS. | Web traffic. Should redirect to HTTPS. |
| 88 | TCP/UDP | Kerberos Active Directory authentication. | Active Directory authentication. |
| 110 | TCP | POP3Insecure Mail retrieval, unencrypted. | Mail retrieval, unencrypted. |
| 123 | UDP | NTP Time sync. Kerberos fails if clocks drift more than 5 minutes. | Time sync. Kerberos fails if clocks drift more than 5 minutes. |
| 135 | TCP | RPC endpoint mapper Microsoft RPC; WMI, DCOM and many admin tools use it plus dynamic ports. | Microsoft RPC; WMI, DCOM and many admin tools use it plus dynamic ports. |
| 137 | UDP | NetBIOS nameInsecure Legacy Windows name service. | Legacy Windows name service. |
| 138 | UDP | NetBIOS datagramInsecure Legacy Windows browsing. | Legacy Windows browsing. |
| 139 | TCP | NetBIOS sessionInsecure SMB over NetBIOS (legacy). | SMB over NetBIOS (legacy). |
| 143 | TCP | IMAP Mail retrieval, unencrypted or STARTTLS. | Mail retrieval, unencrypted or STARTTLS. |
| 161 | UDP | SNMP Device polling. Use SNMPv3; v1/v2c community strings are clear text. | Device polling. Use SNMPv3; v1/v2c community strings are clear text. |
| 162 | UDP | SNMP trap Alerts sent from devices. | Alerts sent from devices. |
| 389 | TCP/UDP | LDAP Directory queries (AD). Enforce signing and channel binding. | Directory queries (AD). Enforce signing and channel binding. |
| 443 | TCP | HTTPSEncrypted Encrypted web traffic. UDP 443 is HTTP/3 (QUIC). | Encrypted web traffic. UDP 443 is HTTP/3 (QUIC). |
| 443 | UDP | HTTP/3 (QUIC)Encrypted HTTP over QUIC. | HTTP over QUIC. |
| 445 | TCP | SMB Windows file sharing. Never expose to the internet. | Windows file sharing. Never expose to the internet. |
| 464 | TCP/UDP | Kerberos password change kpasswd — password changes against domain controllers. | kpasswd — password changes against domain controllers. |
| 465 | TCP | SMTPSEncrypted SMTP submission over implicit TLS. | SMTP submission over implicit TLS. |
| 500 | UDP | IKE IPsec VPN key exchange. | IPsec VPN key exchange. |
| 514 | UDP | Syslog Log forwarding (unencrypted). | Log forwarding (unencrypted). |
| 515 | TCP | LPD Line printer daemon (legacy printing). | Line printer daemon (legacy printing). |
| 587 | TCP | SMTP submissionEncrypted Mail clients sending via STARTTLS (Microsoft 365: smtp.office365.com). | Mail clients sending via STARTTLS (Microsoft 365: smtp.office365.com). |
| 631 | TCP | IPP Internet Printing Protocol; IPPS over TLS uses 443/631. | Internet Printing Protocol; IPPS over TLS uses 443/631. |
| 636 | TCP | LDAPSEncrypted LDAP over TLS. | LDAP over TLS. |
| 853 | TCP | DNS over TLSEncrypted Encrypted DNS (DoT). | Encrypted DNS (DoT). |
| 993 | TCP | IMAPSEncrypted IMAP over TLS. | IMAP over TLS. |
| 995 | TCP | POP3SEncrypted POP3 over TLS. | POP3 over TLS. |
| 1194 | UDP | OpenVPNEncrypted OpenVPN default. | OpenVPN default. |
| 1433 | TCP | Microsoft SQL Server Default SQL Server instance. | Default SQL Server instance. |
| 1434 | UDP | SQL Server Browser Resolves named SQL instances to ports. | Resolves named SQL instances to ports. |
| 1701 | UDP | L2TP L2TP VPN (with IPsec). | L2TP VPN (with IPsec). |
| 1723 | TCP | PPTPInsecure Obsolete, insecure VPN. Replace it. | Obsolete, insecure VPN. Replace it. |
| 1812 | UDP | RADIUS auth 802.1X, enterprise Wi-Fi and VPN authentication (NPS). | 802.1X, enterprise Wi-Fi and VPN authentication (NPS). |
| 1813 | UDP | RADIUS accounting RADIUS accounting. | RADIUS accounting. |
| 2049 | TCP | NFS Network File System. | Network File System. |
| 2179 | TCP | Hyper-V VM Connect vmconnect console sessions. | vmconnect console sessions. |
| 3268 | TCP | Global Catalog AD forest-wide searches. | AD forest-wide searches. |
| 3269 | TCP | Global Catalog (TLS)Encrypted Global Catalog over TLS. | Global Catalog over TLS. |
| 3306 | TCP | MySQL / MariaDB Default MySQL port. | Default MySQL port. |
| 3389 | TCP/UDP | RDP Remote Desktop. Never expose directly — use a VPN or RD Gateway. | Remote Desktop. Never expose directly — use a VPN or RD Gateway. |
| 3478 | UDP | STUN NAT traversal (UniFi, Teams, VoIP). | NAT traversal (UniFi, Teams, VoIP). |
| 4500 | UDP | IPsec NAT-T IPsec through NAT. | IPsec through NAT. |
| 5060 | TCP/UDP | SIP VoIP signalling (unencrypted). | VoIP signalling (unencrypted). |
| 5061 | TCP | SIPSEncrypted SIP over TLS. | SIP over TLS. |
| 5353 | UDP | mDNS Bonjour / AirPlay discovery on the local network. | Bonjour / AirPlay discovery on the local network. |
| 5432 | TCP | PostgreSQL Default PostgreSQL port. | Default PostgreSQL port. |
| 5900 | TCP | VNC VNC remote desktop. | VNC remote desktop. |
| 5985 | TCP | WinRM (HTTP) PowerShell remoting. Traffic is still encrypted with Kerberos/NTLM. | PowerShell remoting. Traffic is still encrypted with Kerberos/NTLM. |
| 5986 | TCP | WinRM (HTTPS)Encrypted PowerShell remoting over TLS. | PowerShell remoting over TLS. |
| 6379 | TCP | Redis Redis default. Never expose without auth. | Redis default. Never expose without auth. |
| 8006 | TCP | Proxmox VE Proxmox web UI and API. | Proxmox web UI and API. |
| 8080 | TCP | HTTP alternate / UniFi inform Proxies and web apps; UniFi devices report to the controller here. | Proxies and web apps; UniFi devices report to the controller here. |
| 8443 | TCP | HTTPS alternate / UniFi UniFi Network controller UI and many appliances. | UniFi Network controller UI and many appliances. |
| 9100 | TCP | RAW / JetDirect Direct printing to network printers. | Direct printing to network printers. |
| 9389 | TCP | AD Web Services Used by the ActiveDirectory PowerShell module and ADAC. | Used by the ActiveDirectory PowerShell module and ADAC. |
| 10001 | UDP | UniFi discovery UniFi device discovery. | UniFi device discovery. |
| 27017 | TCP | MongoDB MongoDB default. | MongoDB default. |
| 49152 | TCP | RPC dynamic range 49152–65535: dynamic RPC ports used after 135 (AD replication, WMI). | 49152–65535: dynamic RPC ports used after 135 (AD replication, WMI). |
| 51820 | UDP | WireGuardEncrypted WireGuard VPN default. | WireGuard VPN default. |