Free tool

Common TCP and UDP port numbers

Updated

The ports that come up when you write firewall rules, read a packet capture or fill in a change request: what each one is for, the secure alternative, and where common practice differs from the IANA registry. Search by number, range, service or keyword.

Quick filters
PortProtocolServiceWhat it's forCopy
1IP protoICMPPing, traceroute replies, unreachables and path MTU discovery. IP protocol 1.Don't block all ICMP: dropping "fragmentation needed" breaks path MTU discovery.
2IP protoIGMPHosts joining multicast groups. IP protocol 2.IGMP snooping on switches listens to it.
9UDPWake-on-LAN (discard)Magic packets that wake a sleeping PC are usually sent to UDP 9 (sometimes 7).Directed broadcasts across routers need ip directed-broadcast or a helper.
19UDPChargenCharacter generator, a diagnostic from the 1980s.Only seen today in DDoS amplification. Turn it off (no service udp-small-servers on old IOS).
20TCPFTP (active-mode data)The server connects back from port 20 to the client in active mode.
21TCPFTP (control)FTP commands and logins.Passwords in clear text. Passive-mode data uses a server-chosen high port, so firewalls need an FTP helper. Prefer SFTP (22).
22TCPSSHEncrypted remote shell; also carries SFTP and SCP file transfers and NETCONF in some setups.The secure replacement for Telnet, rlogin and FTP. SFTP is SSH, not FTP over TLS.
23TCPTelnetUnencrypted remote terminal, still found on old switches and console servers.Sends passwords in clear text. Mirai and its descendants scan for it (and 2323) constantly. Use SSH.
25TCPSMTPMail relay between servers (MTA to MTA).Most ISPs and cloud providers block outbound 25 from end users. Clients should submit on 587 or 465.
47IP protoGREGeneric Routing Encapsulation tunnels (and PPTP data). IP protocol 47, not a port.
49TCPTACACS+Device administration AAA: login, per-command authorization and accounting on routers, switches and firewalls.The body is obfuscated with a shared key, not strongly encrypted; keep it on a management network.
50IP protoESPIPsec Encapsulating Security Payload: the encrypted tunnel traffic. IP protocol 50, not a port.Permit protocol 50 (esp) on the firewall, or let NAT-T move it into UDP 4500.
51IP protoAHIPsec Authentication Header: integrity without encryption. IP protocol 51, not a port.Breaks through NAT; rarely used.
53TCP, UDPDNSDomain name lookups. Queries use UDP; TCP carries zone transfers and responses too large for UDP.Allow TCP 53 as well as UDP: DNSSEC and large answers fall back to TCP (RFC 7766).
58IP protoICMPv6IPv6 ping, neighbor discovery and router advertisements. IP protocol 58.IPv6 doesn't work without it; filter by type, not wholesale.
67UDPDHCP serverDHCP and BOOTP server: clients broadcast to it, relays (ip helper-address) forward to it.
68UDPDHCP clientDHCP and BOOTP client: where the server sends offers and acks.
69UDPTFTPTrivial file transfer: switch and router images and configs, IP phone configs, PXE boot files.Only the first request goes to 69; the transfer moves to random high ports, so firewalls need a TFTP helper. No authentication.
80TCPHTTPUnencrypted web traffic, and redirects to HTTPS.
88TCP, UDPKerberosKerberos authentication: Active Directory logons and tickets.Not to be confused with IP protocol 88, which is EIGRP.
88IP protoEIGRPEIGRP runs directly on IP as protocol 88; it has no port.Multicast 224.0.0.10. Not to be confused with TCP/UDP port 88, which is Kerberos.
89IP protoOSPFOSPF runs directly on IP as protocol 89; it has no TCP or UDP port.Permit protocol 89 (ospf) and multicast 224.0.0.5 and 224.0.0.6 on interfaces and ACLs. OSPFv3 is also 89.
102TCPSiemens S7 (ISO-TSAP)Siemens S7 PLC communication (and other ISO transport over TCP, RFC 1006).
103IP protoPIMProtocol Independent Multicast routing. IP protocol 103.
110TCPPOP3Downloading mail from a mailbox.Clear text; use 995.
111TCP, UDPrpcbind / portmapperTells clients which port an ONC RPC service (NFSv3, NIS) is on.Exposed portmappers are used for DDoS reflection; block at the edge.
112IP protoVRRPVirtual Router Redundancy Protocol: IP protocol 112 to 224.0.0.18, not a port.OpenBSD CARP uses protocol 112 too.
119TCPNNTPUsenet news.NNTP over TLS is 563.
123UDPNTPClock sync for devices, servers and domain controllers.Old servers answering the monlist command were used for DDoS amplification; restrict who can query.
135TCPRPC endpoint mapperWindows RPC/DCOM: tells clients which dynamic port a service is on (AD replication, WMI, DCOM).Exploited by the Blaster worm (2003). Block at the edge.
137UDPNetBIOS name serviceLegacy Windows name resolution (NBT-NS) and WINS.Poisonable like LLMNR. Block at the edge; disable NetBIOS over TCP/IP where nothing needs it.
138UDPNetBIOS datagramLegacy Windows browser announcements.
139TCPNetBIOS session (SMB over NetBIOS)SMB carried over NetBIOS, used by old Windows and some NAS devices.Modern SMB uses 445 directly. Block at the edge.
143TCPIMAPMailbox access with folders kept on the server.Clear text unless STARTTLS; use 993.
161UDPSNMPPolling a device's SNMP agent (gets, walks, sets).v1 and v2c send the community string in clear text; use SNMPv3 with authPriv.
162UDPSNMP trapTraps and informs sent from devices to the monitoring server.
179TCPBGPBGP sessions between peers.Protect it with ACLs, GTSM (ttl-security) and TCP-AO or MD5 authentication.
389TCP, UDPLDAPDirectory lookups and binds. UDP is used by AD clients to find a domain controller (CLDAP).Simple binds on 389 send passwords in clear unless StartTLS is used.
427TCP, UDPSLPService Location Protocol: service discovery on printers and VMware ESXi.Exploited on unpatched ESXi by the ESXiArgs ransomware (2023); VMware advises disabling it.
443TCPHTTPSWeb over TLS, and most device management GUIs, APIs and SSL VPNs.
443UDPHTTP/3 (QUIC)HTTP/3 over QUIC: Google, YouTube, Cloudflare and others.Blocking it makes browsers fall back to TCP 443, which some firewalls do on purpose so they can inspect traffic.
445TCPSMBWindows file and printer sharing, AD Group Policy (SYSVOL) and named pipes.WannaCry and NotPetya spread over SMBv1 on 445 (2017). Never expose it to the internet; disable SMBv1.
464TCP, UDPKerberos password change (kpasswd)Password changes and resets in Active Directory.
465TCPSMTP submission over TLSMail submission with TLS from the first byte (implicit TLS).Once deprecated as "smtps", re-registered for submission by RFC 8314, which now prefers it to 587.
500UDPIKE (ISAKMP)IPsec key exchange for site-to-site and remote-access VPNs.
502TCPModbus TCPPLCs, meters and building controllers.No authentication: anyone who can reach it can read and write registers. Segment OT networks.
512TCPrexecRemote command execution, unencrypted.Use SSH.
513TCPrloginRemote login, unencrypted, trusting host names.Use SSH.
514UDPSyslogDevice and server logs sent to a syslog collector.Unencrypted and unacknowledged: messages can be lost under load. Use 6514 for TLS.
514TCPSyslog over TCP (common)Many collectors and devices send syslog over TCP on 514.In the IANA registry TCP 514 is rsh ("shell"); 601 is the registered syslog-over-TCP port, but 514 is what you'll usually see.
514TCPrsh (shell)Remote shell, unencrypted. IANA's registration for TCP 514.Use SSH. On most networks TCP 514 traffic today is syslog.
515TCPLPDLine Printer Daemon, old Unix-style printing still supported by most printers.
520UDPRIPRIPv1 and RIPv2 routing updates.
521UDPRIPngRIP for IPv6.
546UDPDHCPv6 clientWhere DHCPv6 servers and relays reply to clients.
547UDPDHCPv6 serverDHCPv6 servers and relay agents.
548TCPAFPApple Filing Protocol, the old Mac file sharing.Deprecated by Apple in favor of SMB.
554TCP, UDPRTSPStreaming control for IP cameras, NVRs and video encoders.Camera streams on 554 are often reachable without a password; keep cameras on their own VLAN.
587TCPSMTP submissionMail clients and apps sending through their server, with STARTTLS and login.
601TCPSyslog (reliable delivery)IANA's registered port for syslog over TCP (RFC 3195).Few devices default to it; check what your collector listens on.
623UDPIPMI (RMCP)Out-of-band server management over the LAN (BMC, iDRAC, iLO, IPMI).IPMI 2.0 leaks password hashes to anyone who asks (RAKP). Keep BMCs on an isolated management network.
631TCPIPPInternet Printing Protocol: CUPS, AirPrint, Windows and Mopria printing.CUPS browsing on UDP 631 had a remote-code bug chain in 2024; turn off cups-browsed where it isn't used.
636TCPLDAPSLDAP over TLS.
639TCPMSDPMulticast Source Discovery Protocol between rendezvous points.
646TCP, UDPLDPMPLS Label Distribution Protocol: UDP for hello discovery, TCP for sessions.
830TCPNETCONF over SSHModel-driven configuration (YANG) of routers and switches.
853TCPDNS over TLS (DoT)Encrypted DNS between a client and a resolver (RFC 7858).DNS over HTTPS uses 443 instead, so it looks like ordinary web traffic.
853UDPDNS over QUIC (DoQ)Encrypted DNS over QUIC (RFC 9250).
873TCPrsyncThe rsync daemon. rsync over SSH uses 22 instead.Unauthenticated rsync modules leak data; check what is exported.
902TCP, UDPVMware ESXi host agentvCenter to ESXi management, VM remote console and heartbeats.
989TCPFTPS (implicit TLS, data)Data channel for implicit FTPS.
990TCPFTPS (implicit TLS, control)FTP over TLS from the first byte.Explicit FTPS (AUTH TLS) runs on 21 instead.
993TCPIMAP over TLSIMAP with TLS.
995TCPPOP3 over TLSPOP3 with TLS.
1080TCPSOCKS proxySOCKS4/5 proxies, including ssh -D dynamic forwarding.
1194UDPOpenVPNOpenVPN's registered port (UDP by default; TCP is also possible).Often moved to TCP 443 to get through restrictive networks.
1433TCPMicrosoft SQL ServerThe default SQL Server instance.Named instances use dynamic ports found through the Browser service on UDP 1434.
1434UDPSQL Server BrowserTells clients which port a named SQL Server instance is on.The SQL Slammer worm (2003) spread through this port; never expose it.
1521TCPOracle Database listenerOracle TNS listener.
1645UDPRADIUS authentication (legacy)The pre-standard RADIUS authentication port.Not RADIUS in the IANA registry, but older Cisco IOS configs and some devices still default to it. Make both ends agree: 1812 or 1645.
1646UDPRADIUS accounting (legacy)The pre-standard RADIUS accounting port.Pairs with 1645; IANA's accounting port is 1813.
1700UDPRADIUS CoA (Cisco ISE default)The CoA port Cisco ISE uses by default.IANA's CoA port is 3799.
1701UDPL2TPLayer 2 Tunneling Protocol.Normally run inside IPsec (L2TP/IPsec), so the firewall sees UDP 500, UDP 4500 and ESP rather than bare 1701.
1719UDPH.323 RASEndpoints registering with an H.323 gatekeeper.
1720TCPH.323 call signalingH.225 call setup for H.323 video systems and gateways.H.245 and media then use dynamic ports, so firewalls need an H.323 helper.
1723TCPPPTPPPTP control channel; the tunnel itself is GRE (IP protocol 47).PPTP's MS-CHAPv2 authentication is broken; replace it.
1812UDPRADIUS authentication802.1X, VPN and device-login authentication against a RADIUS server (NPS, ISE, ClearPass, FreeRADIUS).
1813UDPRADIUS accountingSession start, stop and usage records.
1883TCPMQTTPublish/subscribe messaging for IoT sensors and telemetry.Clear text; use 8883.
1900UDPSSDP / UPnPDevice discovery for UPnP: smart TVs, media servers, home routers.Exposed SSDP is used for DDoS reflection; never allow it in from the internet.
1985UDPHSRPCisco Hot Standby Router Protocol hellos.Version 1 goes to 224.0.0.2, version 2 to 224.0.0.102.
2000TCPSCCP (Skinny)Cisco phones registering to CUCM or CME with the Skinny protocol.Encrypted SCCP uses TCP 2443.
2049TCP, UDPNFSNetwork File System; NFSv4 needs only this port.NFSv3 also needs rpcbind (111) and mountd, lockd and statd, which use dynamic ports unless pinned.
2055UDPNetFlowThe usual NetFlow export port configured on routers and collectors.A convention, not an IANA assignment (2055 is registered to another service); 9995 and 9996 are also common.
2083TCPRadSec (RADIUS over TLS)RADIUS carried over TLS (RFC 6614), used by eduroam and cloud RADIUS services.
2179TCPHyper-V VMConnectConsole connections to Hyper-V virtual machines.
2181TCPZooKeeperZooKeeper clients (Kafka, Hadoop, older Kafka deployments).
2222UDPEtherNet/IP (implicit I/O)Cyclic real-time I/O between controllers and devices.
2375TCPDocker API (unencrypted)Docker daemon API without TLS.Gives root on the host to anyone who reaches it; exposed daemons are hijacked for cryptomining. Use 2376 with TLS, or SSH.
2376TCPDocker API (TLS)Docker daemon API with TLS client certificates.
2379TCPetcd clientThe Kubernetes API server reading and writing cluster state in etcd.
2380TCPetcd peeretcd members replicating to each other.
2404TCPIEC 60870-5-104Telecontrol between SCADA masters and substations.
2427UDPMGCP (gateway)MGCP commands from the call agent to a voice gateway (Cisco CUCM to an IOS gateway).
2443TCPSCCP over TLSSecure Skinny signaling for encrypted Cisco phones.
2601-2605TCPFRRouting / Quagga vtyTelnet-style consoles of the routing daemons (zebra 2601, ripd 2602, ripngd 2603, ospfd 2604, bgpd 2605).Bind them to localhost; vtysh is the usual way in.
2727UDPMGCP (call agent)MGCP messages from the gateway back to the call agent.
3000TCPGrafanaGrafana dashboards, by default.Also the default for many Node.js development servers.
3128TCPSquid proxySquid's default forward-proxy port.Not a proxy port in the IANA registry; it is just Squid's default. Open proxies get abused fast.
3222UDPGLBPCisco Gateway Load Balancing Protocol (to 224.0.0.102).
3260TCPiSCSIBlock storage over IP between initiators and SAN targets.Keep it on a dedicated storage VLAN.
3268TCPGlobal Catalog (LDAP)Forest-wide Active Directory searches against a Global Catalog server.
3269TCPGlobal Catalog over TLSGlobal Catalog searches over TLS.
3283TCP, UDPApple Remote DesktopApple Remote Desktop reporting and management (Net Assistant); screen sharing itself uses VNC on 5900.
3306TCPMySQL / MariaDBMySQL and MariaDB client connections.
3389TCPRDPWindows Remote Desktop.One of the most attacked services on the internet (brute force, BlueKeep). Put it behind a VPN or a Remote Desktop Gateway on 443.
3389UDPRDP (UDP transport)Remote Desktop's UDP transport for smoother sessions; falls back to TCP if blocked.
3478TCP, UDPSTUN / TURNNAT discovery and media relay for WebRTC, Teams, softphones and UniFi devices.TURN over TLS uses 5349.
3478-3481UDPMicrosoft Teams mediaTeams audio, video and screen sharing to Microsoft's relays.If these are blocked Teams falls back to TCP 443 and call quality suffers.
3671UDPKNXnet/IPKNX building automation over IP.
3702UDPWS-DiscoveryWindows network discovery and ONVIF cameras finding each other.Also abused for reflection DDoS when exposed.
3784UDPBFD (single hop)Bidirectional Forwarding Detection control packets.Echo mode uses 3785.
3785UDPBFD echoBFD echo packets.
3799UDPRADIUS Change of AuthorizationCoA and Disconnect messages from the RADIUS server to a switch, WLC or VPN gateway (RFC 5176).Cisco ISE sends CoA to 1700 by default; match the port configured on the network device.
4011UDPPXE (proxy DHCP)PXE boot servers answering on the side of the regular DHCP server.Used by WDS/MECM and other network-boot servers.
4343TCPAruba controller web UIHTTPS management of Aruba mobility controllers.
4444TCPMetasploit default listenerNo widely used legitimate service. Metasploit's default handler port, and the Blaster worm's remote shell (2003).Outbound connections to 4444 are a common IDS alert worth checking.
4500UDPIPsec NAT-TIKE and ESP wrapped in UDP when a NAT is in the path.Needed whenever either peer is behind NAT, which is most of the time.
4501UDPGlobalProtect IPsecPalo Alto GlobalProtect tunnel traffic in IPsec mode; falls back to SSL on TCP 443.
4569UDPIAX2Asterisk's Inter-Asterisk eXchange: signaling and media on one port.
4739UDPIPFIXIP Flow Information Export, the IETF standard based on NetFlow v9 (TCP and SCTP are also registered).
4784UDPBFD (multihop)BFD for multihop sessions such as eBGP multihop.
4786TCPCisco Smart InstallZero-touch provisioning on Catalyst switches.Widely abused to steal and change configs (CVE-2018-0171); run no vstack unless you use it.
4789UDPVXLANVXLAN overlays (EVPN fabrics, VMware NSX, cloud networks).Linux and Flannel used 8472 before IANA assigned 4789; both ends must agree.
4840TCPOPC UAOPC Unified Architecture: industrial data exchange.Supports encryption and authentication; make sure they are turned on.
5000TCPDocker registryThe default port of a self-hosted Docker registry.Not a registry port in the IANA registry. On macOS 12 and later the AirPlay Receiver also listens on 5000.
5004UDPRTP (registered)IANA's registered RTP media port (RTCP on 5005); used by some codecs, encoders and Webex.Most phones pick ports from a range instead (see the RTP ranges).
5005UDPRTCP (registered)RTP Control Protocol: call quality reports (jitter, loss).RTCP normally uses the RTP port + 1.
5044TCPLogstash Beats inputFilebeat and other Beats shipping logs to Logstash.
5060TCP, UDPSIPCall signaling between phones, PBXs, SBCs and SIP trunks.Turn off the SIP ALG on firewalls and routers; it rewrites packets and causes one-way audio and dropped registrations. Exposed 5060 gets constant toll-fraud scanning.
5061TCPSIP over TLS (SIPS)Encrypted SIP signaling.Pair it with SRTP so the audio is encrypted too.
5222TCPXMPP clientXMPP/Jabber clients: Cisco Jabber IM and presence, among others.
5223TCPApple Push (APNs)iPhones, iPads and Macs keeping their push connection to Apple; falls back to 443.MDM needs it too: blocked APNs means devices stop getting MDM commands promptly.
5228TCPGoogle push (FCM)Android devices and Chrome receiving push notifications (5229 and 5230 too).
5246UDPCAPWAP controlLightweight access points joining and being managed by a wireless LAN controller (Cisco, others).APs must reach the controller on 5246 and 5247 across any firewall in between.
5247UDPCAPWAP dataClient traffic tunneled from the AP to the controller.
5269TCPXMPP server-to-serverFederation between XMPP servers.
5349TCPTURN over TLSTURN media relay over TLS.
5353UDPmDNS (Bonjour)Multicast DNS on the local link: AirPlay, AirPrint, Chromecast, printers finding each other.Link-local only (224.0.0.251). Across VLANs it needs an mDNS gateway or reflector.
5355TCP, UDPLLMNRWindows link-local name resolution when DNS fails.Responder-style poisoning abuses it to capture password hashes; disable it by Group Policy where you can.
5432TCPPostgreSQLPostgreSQL client connections.
5480TCPVMware appliance managementvCenter Server Appliance management interface (VAMI).
5601TCPKibanaKibana web UI (OpenSearch Dashboards uses it too).
5666TCPNRPE (Nagios)Nagios Remote Plugin Executor.
5671TCPAMQP over TLSAMQP with TLS.
5672TCPAMQPRabbitMQ and other AMQP brokers.
5683UDPCoAPConstrained Application Protocol for small IoT devices (5684 with DTLS).
5900TCPVNCVNC remote desktop. Display :0 is 5900, :1 is 5901 and so on.Many servers use weak or no passwords and no encryption; tunnel it over SSH or a VPN.
5938TCP, UDPTeamViewerTeamViewer connections to its routers; falls back to 443 and 80.
5984TCPCouchDBCouchDB HTTP API.
5985TCPWinRM (HTTP)PowerShell remoting and Windows Remote Management.The session is encrypted by Kerberos/NTLM even on HTTP, but 5986 adds TLS.
5986TCPWinRM (HTTPS)PowerShell remoting over TLS.
6000TCPX11X Window System display :0 (6000 + display number).Forward it over SSH (ssh -X) instead of opening it.
6081UDPGeneveGeneve overlays (NSX-T, AWS Gateway Load Balancer, OVN).
6343UDPsFlowSampled flow and counter export from switches.
6379TCPRedisRedis clients.No authentication by default on old versions; exposed instances are hijacked for cryptomining.
6443TCPKubernetes API serverkubectl and every node talking to the control plane.
6513TCPNETCONF over TLSNETCONF with TLS instead of SSH.
6514TCPSyslog over TLSEncrypted syslog (RFC 5425).
6653TCPOpenFlowSwitches connecting to an SDN controller.Older controllers and switches used 6633 before IANA assigned 6653.
6667TCPIRCInternet Relay Chat (6660-6669; 6697 with TLS).Long used as command-and-control by botnets; unexpected IRC from a server is worth a look.
6881-6889TCP, UDPBitTorrent (traditional)BitTorrent clients' traditional listening range; modern clients pick random ports.Commonly blocked on corporate networks, though blocking ports alone doesn't stop it.
6970TCPCUCM TFTP over HTTPCisco phones downloading their config and firmware from the CUCM TFTP server over HTTP.Phones fall back to plain TFTP on 69.
7547TCPTR-069 (CWMP)ISPs managing customer routers and modems remotely.A Mirai variant used it to knock about 900,000 Deutsche Telekom routers offline (2016).
8000TCPHTTP (development servers)Development web servers, Splunk Web and many appliances.IANA assigns 8000 to another service; as HTTP it is convention only.
8000TCPHikvision SDK / iVMSHikvision cameras and NVRs talking to iVMS and other clients.Shares 8000 with development web servers.
8006TCPProxmox VE web UIProxmox Virtual Environment management.
8008TCPHTTP alternate (8008)A second registered http-alt port.
8009TCPAJP (Tomcat)Apache JServ Protocol between a front-end web server and Tomcat.Ghostcat (CVE-2020-1938) read files through exposed AJP; bind it to localhost or disable it.
8080TCPHTTP alternateProxies, application servers (Tomcat, Jenkins) and device GUIs.Registered as http-alt; often an unprotected admin page, so check what answers.
8080TCPUniFi device informUniFi APs and switches reporting to the UniFi Network controller.Shares 8080 with ordinary HTTP-alternate use.
8086TCPInfluxDBInfluxDB HTTP API, a common back end for network telemetry.
8088TCPSplunk HTTP Event CollectorApplications sending events to Splunk over HTTP(S).
8089TCPSplunk management (splunkd)Splunk REST API and deployment server.
8211UDPAruba PAPIAruba APs and controllers talking to each other.
8291TCPMikroTik WinboxManaging MikroTik RouterOS with Winbox.Exposed Winbox was exploited at scale in 2018 (CVE-2018-14847); restrict it to management addresses.
8443TCPHTTPS alternateAdmin consoles and app servers on TLS: controllers, appliances, Tomcat.IANA assigns 8443 to pcsync-https; HTTPS-alternate is common practice, not the registration.
8472UDPVXLAN (Linux default)The Linux kernel's original VXLAN port, still Flannel's default.IANA's VXLAN port is 4789.
8728TCPMikroTik APIRouterOS API (8729 with TLS).
8801-8810UDPZoom meeting mediaZoom audio and video (Zoom also lists TCP 8801-8802 and UDP 3478-3479).
8883TCPMQTT over TLSMQTT with TLS.
8888TCPHTTP (8888)Jupyter Notebook and assorted web consoles by default.IANA assigns 8888 to another service; as HTTP it is convention only.
9000UDPWebex mediaWebex meeting audio and video (UDP 5004 too).
9042TCPCassandra (CQL)Cassandra client connections.Nodes talk to each other on 7000 (7001 with TLS).
9090TCPPrometheusPrometheus server web UI and API.
9092TCPKafkaKafka brokers.
9100TCPRaw printing (JetDirect)Sending print jobs straight to a printer (AppSocket, HP JetDirect).Registered as pdl-datastream. Anyone who can reach it can print, so keep printers off the internet.
9100TCPPrometheus node exporterHost metrics scraped by Prometheus.Shares 9100 with raw printing: check what is listening.
9200TCPElasticsearch / OpenSearch (HTTP)Elasticsearch and OpenSearch REST API.Cluster nodes talk on 9300. Exposed clusters have leaked billions of records.
9300TCPElasticsearch (transport)Node-to-node traffic inside an Elasticsearch cluster.
9339TCPgNMI / gNOIgRPC network management and operations: streaming telemetry and config.IANA assigned 9339, but vendor defaults vary (57400 on IOS XR and Nokia, 6030 on Arista); check the platform.
9389TCPAD Web Services (ADWS)Active Directory PowerShell module and Administrative Center talk to domain controllers here.
9418TCPGit protocolThe git:// protocol (read-only, unauthenticated). Git over SSH uses 22, over HTTPS 443.
9997TCPSplunk forwarder receivingUniversal forwarders sending data to Splunk indexers.
10000TCPNDMPNetwork Data Management Protocol: backup software talking to NAS filers.Webmin also defaults to 10000, so check which one answers.
10000-20000UDPRTP media (Asterisk / FreePBX range)The default RTP range in Asterisk's rtp.conf, used by FreePBX and many hosted PBXs.The RTP range varies by vendor and is configurable; check the PBX and the phones.
10001UDPUniFi discoveryUniFi devices being discovered on the local network.
10050TCPZabbix agentThe Zabbix server polling an agent.
10051TCPZabbix server (trapper)Active agents and proxies sending data to the Zabbix server.
10161TCP, UDPSNMP over TLS/DTLSSNMP agent over TLS (TCP) or DTLS (UDP), RFC 6353.Rarely enabled; most networks use SNMPv3 on 161.
10162TCP, UDPSNMP trap over TLS/DTLSTraps and informs over TLS or DTLS, RFC 6353.
10250TCPKubelet APIThe control plane talking to the kubelet on each node (logs, exec).Never expose it; anonymous access lets anyone run commands in pods.
11211TCP, UDPMemcachedMemcached clients.UDP memcached was used for record DDoS amplification in 2018; UDP is off by default since 1.5.6.
12222UDPLWAPP data (legacy)Pre-CAPWAP Cisco lightweight AP data.Only on very old controllers and APs.
12223UDPLWAPP control (legacy)Pre-CAPWAP Cisco lightweight AP control.
15672TCPRabbitMQ managementRabbitMQ management web UI and HTTP API.
16384-32767UDPRTP media (Cisco range)The voice and video stream itself (RTP/SRTP) on Cisco phones, CUCM and gateways.The RTP range varies by vendor and is configurable; check the PBX and the phones.
20000TCP, UDPDNP3Utility SCADA: substations and water systems.
27017TCPMongoDBMongoDB client connections.Thousands of exposed databases without authentication were wiped and ransomed; bind to private addresses.
30000-32767TCP, UDPKubernetes NodePort rangeServices published on every node with type NodePort.The default range; it can be changed with --service-node-port-range.
34962-34964TCP, UDPPROFINETPROFINET context manager and discovery (real-time cyclic data runs at layer 2).
37777TCPDahua DVR/NVRDahua recorders and cameras talking to their client software.
44818TCP, UDPEtherNet/IP (explicit)Rockwell/Allen-Bradley and other CIP devices: configuration and explicit messaging.Real-time I/O (implicit messaging) uses UDP 2222.
47808UDPBACnet/IPBuilding automation: HVAC, lighting, access control (0xBAC0).
49152-65535TCPRPC dynamic ports (Windows)Where Windows RPC services listen after the endpoint mapper hands them out: AD replication, DFSR, WMI.The default dynamic range since Windows Vista and Server 2008. It can be narrowed with netsh int ipv4 set dynamicport.
50000TCPIBM Db2The usual default port for a Db2 instance.Not an IANA assignment; set per instance.
51820UDPWireGuardWireGuard's customary default listen port.Not an IANA assignment, and any port can be configured.

IP protocol numbers (OSPF 89, EIGRP 88, ESP 50, GRE 47, VRRP 112) are listed because firewall rules ask for them, but they are not ports: they go in the IP header's protocol field, where TCP is 6 and UDP is 17.

Documenting what crosses each firewall?

In NetworkSketch, draw the firewall, its zones and the links between them, with notes on each link, and export a PDF with a device inventory and cabling schedule. Working out addressing too? Try the subnet calculator or the IP plan checker.

Try it, no signup

Questions

What port does OSPF use?

None. OSPF runs directly on IP as protocol number 89, not over TCP or UDP, so a firewall rule or ACL has to permit protocol 89 (ospf), not a port. EIGRP is IP protocol 88, VRRP is 112, ESP is 50 and GRE is 47. IS-IS doesn't use IP at all; it runs straight on the data link layer.

Which ports does Active Directory need?

Between clients and domain controllers: DNS 53, Kerberos 88 and 464, NTP 123, RPC endpoint mapper 135, LDAP 389 (TCP and UDP), SMB 445, LDAPS 636, Global Catalog 3268 and 3269, and the RPC dynamic range 49152-65535. Pick Active Directory under Quick filters to see them all.

Which RTP port range should I open for VoIP?

The one your phone system uses: it varies by vendor and is configurable. Cisco phones and CUCM use UDP 16384-32767 by default, Asterisk and FreePBX use 10000-20000. Check the PBX, the phones and any SBC, and turn off the SIP ALG on the firewall.

Who assigns port numbers?

IANA keeps the registry. Ports 0-1023 are system (well-known) ports, 1024-49151 are registered ports, and 49152-65535 are dynamic ports that operating systems hand out for outgoing connections. Plenty of ports in daily use, such as 8443, 2055 for NetFlow or 51820 for WireGuard, are convention rather than registration; the notes say where.

Is anything I type sent anywhere?

No. The list and the search run on this page in your browser, and the page has no analytics or tracking. Your search is kept in the part of the link after the # so you can share it, and browsers never send that part to the server.