Which ports should you know by heart for DevOps work?
BeginnerConceptNetwork Models, TCP, UDP & Ports
Answer
22 SSH, 53 DNS, 80 HTTP, 443 HTTPS, 25/587 SMTP, 123 NTP, 3306 MySQL, 5432 PostgreSQL, 6379 Redis, 27017 MongoDB, 9200 Elasticsearch, 2379/2380 etcd, 6443 Kubernetes API, 10250 kubelet, 9090 Prometheus, 3000 Grafana, 8080 common app/Jenkins, 3389 RDP, 51820 WireGuard, 1194 OpenVPN.
Interviewers ask these when you configure security groups, so also remember which are TCP versus UDP: DNS uses both 53/udp and 53/tcp.
More on Network Models, TCP, UDP & Ports
What are the layers of the OSI model, and why does a DevOps engineer care?BeginnerHow does the TCP/IP model map to the OSI model?BeginnerWhat is the difference between TCP and UDP?BeginnerDescribe the TCP three-way handshake.BeginnerHow does TCP close a connection, and what is TIME_WAIT?IntermediateWhat is a port, and what are well-known, registered and ephemeral ranges?Beginner