Key Ports, Protocols, and Tools to Know When Working in a Linux Environment

If you’re working in a Linux environment, here are some essential ports, protocols, and tools you should definitely be familiar with.

SSH (Secure Shell)

  • Port: 22

  • What it does: Provides secure remote access to Linux servers.

  • Why you’ll use it: For admin tasks, remote login, deploying code, or managing configurations.

  • Go-to tools: ssh, scp, rsync.

HTTP (Hypertext Transfer Protocol)

  • Port: 80

  • What it does: Delivers unencrypted web traffic.

  • Why you’ll use it: Running web apps, setting up load balancers or reverse proxies.

  • Go-to tools: nginx, apache2.

 HTTPS (Hypertext Transfer Protocol Secure)

  • Port: 443

  • What it does: Handles secure, encrypted web traffic.

  • Why you’ll use it: Hosting secure web applications, SSL/TLS termination.

  • Go-to tools: nginx, apache2, letsencrypt.

FTP (File Transfer Protocol)

  • Port: 21

  • What it does: Transfers files between systems (but not securely).

  • Why you’ll use it: Legacy file transfer needs—but often replaced by SFTP these days.

  • Go-to tools: vsftpd, proftpd.

SFTP (SSH File Transfer Protocol)

  • Port: 22 (same as SSH)

  • What it does: Secure file transfer using SSH.

  • Why you’ll use it: When you need to upload/download files securely to/from a server.

DNS (Domain Name System)

  • Port: 53

  • What it does: Converts domain names into IP addresses.

  • Why you’ll use it: Essential for networking, troubleshooting, and service discovery.

  • Go-to tools: bind9, dnsmasq, systemd-resolved.

MySQL / MariaDB

  • Port: 3306

  • What it does: Default port for these SQL-based databases.

  • Why you’ll use it: Powering application backends and handling structured data.

  • Go-to tools: mysql, mariadb.

 PostgreSQL

  • Port: 5432

  • What it does: Default port for PostgreSQL.

  • Why you’ll use it: Another solid choice for relational databases in backend applications.

  • Go-to tool: postgresql.

 Redis

  • Port: 6379

  • What it does: In-memory data store used for high-speed tasks.

  • Why you’ll use it: Caching, pub/sub messaging, session storage.

  • Go-to tool: redis-server.

MongoDB

  • Port: 27017

  • What it does: NoSQL database port.

  • Why you’ll use it: For applications that need flexible, document-oriented storage.

  • Go-to tool: mongod.

Jenkins

  • Port: 8080

  • What it does: Runs your CI/CD pipelines.

  • Why you’ll use it: Automating build, test, and deployment processes.

  • Go-to tool: jenkins.

Docker

  • Ports: 2375 (unencrypted), 2376 (encrypted)

  • What it does: Allows remote API access to Docker daemon.

  • Why you’ll use it: To manage containers and orchestration from remote machines.

  • Go-to tools: docker, docker-compose.

Kubernetes API Server

  • Port: 6443

  • What it does: Manages Kubernetes clusters.

  • Why you’ll use it: Everything from deploying containers to managing services.

  • Go-to tools: kubectl, helm.

 Elasticsearch

  • Ports: 9200 (REST API), 9300 (cluster comms)

  • What it does: Powers search and analytics.

  • Why you’ll use it: For log aggregation, full-text search, or as part of the ELK stack.

  • Go-to tool: elasticsearch.

 

What else would you add to the list?


Thanks for reading.  Subscribe to my newsletter below to get AWS updates, new features from cloud-native tools, and career tips.

Leave a Reply

Your email address will not be published. Required fields are marked *