🔌 15 Most Common Protocols & Ports Every DevOps Engineer Should Know

Abhishek NegiAbhishek Negi
4 min read

Because if your service isn’t listening on the right port, is it even alive?


One of the first things I had to figure out as I got deeper into DevOps was this:

What protocols run where, and why does every tool ask about ports?!

So I made a cheat sheet — not just to remember the ports, but to understand why these protocols matter in DevOps day-to-day work.

This blog is that cheat sheet, cleaned up and shared. If you're doing the #90DaysOfDevOps2025 like me — here's your Protocols & Ports breakdown 👇


📖 What Are Protocols & Ports?

Before diving in, let’s get the basics out of the way:

  • A protocol is a set of rules for communication between devices. Think of it like a language (e.g., HTTP for web, SSH for remote login).

  • A port is like a channel inside a machine. Each protocol usually uses a default port — so tools and services know where to listen or talk.

For example, if you're serving a website over HTTPS, the server listens on port 443, and clients automatically expect it there.


📋 Most Common Protocols & Ports in DevOps

Here’s the core list I use again and again in projects, cloud deployments, CI/CD tasks, and container setups:

ProtocolPortUse CaseDevOps Relevance
HTTP80Unsecured web trafficServing sites, APIs, probes
HTTPS443Secured web traffic (TLS/SSL)Hosting secure apps, frontend-backend comm
SSH22Remote terminal loginServer access, Git over SSH
FTP21File transferLegacy systems, rare in modern pipelines
SFTP22Secure FTP (over SSH)Transferring logs securely
DNS53Resolves domain namesCustom domains, service discovery
SMTP25Sending emailsAlerting, notification systems
POP3110Receiving emailsRare, legacy support
IMAP143Receiving emails (advanced)Email alerts integration
MySQL3306MySQL DB accessDatabase connections in apps
PostgreSQL5432PostgreSQL DB accessCommon in SaaS & cloud-native tools
MongoDB27017NoSQL DB accessStoring logs, events, analytics data
Redis6379In-memory data storeCaching, pub/sub, job queues
Elasticsearch9200Search engine queriesLog storage (e.g., ELK stack)
Kubernetes API6443Cluster managementUsed by kubectl, CI tools, etc.

🔍 Why These Matter in DevOps Workflows

Let’s break down where you’ll actually touch these protocols:


1. 🔐 SSH (Port 22)

Used constantly for accessing remote servers or containers.

  • Set up automation scripts to SSH into EC2 or VPS

  • Connect GitHub/GitLab via SSH keys

  • Diagnose services directly from terminal


2. 🌐 HTTP / HTTPS (Ports 80/443)

Runs everything on the web — your backend, frontend, dashboards, APIs.

  • Expose services in Docker/Kubernetes with ingress

  • Set up reverse proxies using NGINX

  • Monitor apps using HTTP health checks


3. 🛢️ Databases (3306, 5432, 27017)

Your apps need data — securely and consistently.

  • Connect CI/CD pipelines to test DBs

  • Use managed DBs in AWS, GCP, Azure

  • Configure .env files with DB ports in containers


4. 🧠 Caching & Search (6379, 9200)

Used for performance tuning and log storage.

  • Redis queues for background jobs

  • Elasticsearch for central log monitoring (e.g., ELK/EFK stacks)

  • Observability tools like Grafana rely on these


5. 📩 Email Protocols (25, 110, 143)

Used when your app or server needs to send or receive alerts.

  • SMTP for sending alert emails

  • Integrating tools like Postfix or Mailgun

  • Emailing build logs or failure reports


6. 🧭 DNS (Port 53)

A misconfigured DNS record can break everything.

  • Setup DNS in Route 53 or Cloudflare

  • Use dig or nslookup during troubleshooting

  • Link custom domains to cloud services


🧪 Bonus: DevOps Port Troubleshooting Tip

When something isn’t working, I always do this first:

bashCopyEdit# Check if port is open
nc -zv <hostname> 22

# Or test HTTP/HTTPS endpoint
curl -I http://your-api.com

# For DNS
dig yourdomain.com

Sometimes it’s just a closed port in your firewall or security group.

0
Subscribe to my newsletter

Read articles from Abhishek Negi directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Abhishek Negi
Abhishek Negi