Prints on one or two pages, without the site menus.
A port number says which service on a device a packet is meant for. Well-known ports run from 0 to 1023. Ports 1024 to 49151 are registered, and 49152 to 65535 are used temporarily by clients.
Remote access and management
Port
Protocol
Service
Notes
22
TCP
SSH
Encrypted remote shell. SFTP and SCP also use it
23
TCP
Telnet
Unencrypted. Avoid it and turn it off
3389
TCP
RDP
Windows Remote Desktop
5900
TCP
VNC
Remote screen sharing
161, 162
UDP
SNMP
161 for queries, 162 for traps
514
UDP
Syslog
Central log collection
8291
TCP
Winbox
MikroTik RouterOS management
Web
Port
Protocol
Service
Notes
80
TCP
HTTP
Unencrypted web
443
TCP (and UDP for QUIC)
HTTPS
Web over TLS
8080
TCP
HTTP alternate
Proxies and test servers
Names and addresses
Port
Protocol
Service
Notes
53
UDP and TCP
DNS
UDP for most lookups, TCP for large answers and zone transfers
67, 68
UDP
DHCP
67 server, 68 client
123
UDP
NTP
Time synchronisation
Email
Port
Protocol
Service
Notes
25
TCP
SMTP
Server to server mail
587
TCP
SMTP submission
Clients sending mail, with STARTTLS
465
TCP
SMTPS
Implicit TLS
110
TCP
POP3
Download mail
143
TCP
IMAP
Sync mail
993
TCP
IMAPS
IMAP over TLS
Files and directories
Port
Protocol
Service
Notes
21
TCP
FTP control
Unencrypted. Data uses 20 or a negotiated port
69
UDP
TFTP
Simple, no login. Used for device firmware and configs
445
TCP
SMB
Windows file sharing
389
TCP and UDP
LDAP
Directory lookups
636
TCP
LDAPS
LDAP over TLS
88
TCP and UDP
Kerberos
Windows domain sign-in
2049
TCP and UDP
NFS
Unix file sharing
Databases and infrastructure
Port
Protocol
Service
3306
TCP
MySQL and MariaDB
5432
TCP
PostgreSQL
1433
TCP
Microsoft SQL Server
27017
TCP
MongoDB
6379
TCP
Redis
1883
TCP
MQTT (8883 for MQTT over TLS)
Routing and tunnels
Port
Protocol
Service
179
TCP
BGP
520
UDP
RIP
500
UDP
IKE (IPsec key exchange)
4500
UDP
IPsec NAT traversal
1194
UDP
OpenVPN (default)
51820
UDP
WireGuard (default)
OSPF and EIGRP do not use a TCP or UDP port. They ride directly on IP (protocol numbers 89 and 88).
How to use this in the field
A service will not connect? Check the port is open both on the device and along the path (firewalls, security groups).
See which ports are listening on a Linux server:ss -tulpn
Test one port from another machine:nc -vz host 443
Security rule of thumb: expose only the ports a service needs, and prefer the encrypted version of each protocol.