Ports, Protocols & DevOps Panic: A Fun Survival Guide 🔥

Vaibhav SinghVaibhav Singh
3 min read

Hey there, fellow DevOps warrior! 🐧
If you’ve ever found yourself staring at firewall rules or a netstat output like it’s a cryptic scroll from the DevOps gods, you’re not alone. Today, let’s break down the most commonly used protocols and port numbers in our DevOps workflows — without boring you to death.

In fact, I’ll even drop in some memes to keep you sane. Let’s dive in! 🌊


🎯 Why Should You Care About Protocols & Ports?

Imagine deploying your shiny new app, and… nothing works. It’s either blocked by a firewall, DNS is borked, or your SSH key has ghosted you.

Knowing your protocols and their ports is DevOps survival 101.


🔥 The MVPs of DevOps Protocols & Their Ports

ProtocolPort NumberUse Case in DevOps
HTTP80Used for basic web traffic and health checks. Not secure, but still found in internal services.
HTTPS443Secure web traffic — must-have for production apps.
SSH22Secure shell — your gateway to remote servers and CI/CD agents.
FTP21Old-school file transfer. Not recommended without SFTP (port 22).
DNS53Resolves domain names to IPs. No DNS, no site.
SMTP25, 587For sending emails (think alerting systems).
MySQL3306Default port for MySQL/MariaDB databases.
PostgreSQL5432Preferred by many modern apps — reliable and open-source.
Redis6379In-memory data store for caching, queues, and session storage.
RabbitMQ5672Message broker for microservices communication.
Elasticsearch9200Used for log management, monitoring, and search functions.
Kubernetes API6443The command center of your k8s cluster.

🚦 Quick Scenario: Why This Matters

Scenario:
Your CI/CD pipeline needs to SSH into a staging server after a successful build.
👉 SSH port 22 needs to be open on your security group/firewall.

Scenario:
You’re exposing a web service via Kubernetes Ingress.
👉 Ingress listens on ports 80 and 443. You better have HTTPS configured properly (hello, Let’s Encrypt)!


📌 Pro Tip: Use netstat / ss / nmap to Check Open Ports

sudo netstat -tulpn
sudo ss -tulpn
nmap -p 1-65535 <your-server-ip>

Me pretending to be a sysadmin while running nmap


🔍 Wrap Up

As a DevOps engineer, it’s not just about Dockerfiles and YAMLs. You should know how your services talk to each other, and that starts with protocols and ports.

Bookmark this, because your future self will thank you when production goes down at 3 AM.


Bonus: cheat sheet for port and protocols

Just google it.


See you on the other side of the network. 🤙🏻

0
Subscribe to my newsletter

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

Written by

Vaibhav Singh
Vaibhav Singh