Navigating the Backend: A Developer’s Guide to Default Ports and Services

HouseOfCoder
2 min readAug 7, 2023

--

Navigating the Backend: A Developer’s Guide to Default Ports and Services

As a backend web developer, you may encounter and work with various services and technologies, each of which could use different default ports for communication. Here’s a list of some commonly used default ports for backend development:

  1. HTTP/HTTPS Services:
    -
    HTTP: 80
    - HTTPS: 443
  2. Databases:
    - MySQL: 3306
    - PostgreSQL: 5432
    - MongoDB: 27017
  3. Caching Servers:
    - Redis: 6379
    - Memcached: 11211
  4. Message Brokers:
    - RabbitMQ: 5672 (AMQP), 15672 (Management UI)
    - Apache Kafka: 9092
  5. Web Servers:
    - Apache HTTP Server: 80 (HTTP), 443 (HTTPS)
    - Nginx: 80 (HTTP), 443 (HTTPS)
  6. Application Servers:
    - Tomcat: 8080
    - WildFly (formerly JBoss): 8080
  7. Version Control Systems:
    Git: 9418
  8. API Servers:
    - GraphQL: 8080, 4000, or custom
    - RESTful APIs: Typically use HTTP/HTTPS ports (80, 443)
  9. Dev Tools and Debugging:
    Remote Debugging (e.g., Xdebug): Custom ports or default debugging ports (e.g., 9000)
  10. Containerization and Orchestration:
    - Docker: Typically communicates over UNIX sockets or custom ports
    - Kubernetes: API server on port 6443
  11. Continuous Integration/Delivery (CI/CD) Servers:
    - Jenkins: 8080
    - GitLab CI/CD: Typically uses HTTP/HTTPS ports (80, 443)
  12. Proxy and Load Balancing:
    - HAProxy: 80 (HTTP), 443 (HTTPS), 8080 (Stats)
    - Nginx (as a reverse proxy): 80 (HTTP), 443 (HTTPS)
  13. IoT:
    - MQTT : 1883/8883
  14. Directory Services:
    -
    LDAP : 389/636

Please note that these are default ports, and you might need to configure different ports based on your specific requirements, security considerations, or local development environment. Always ensure that the chosen ports are appropriate for your use case and follow best practices for securing and managing services.

Thanks for taking the time to read my article 🙂 If you enjoyed it and would like to see more content like this, please consider following me on Medium or on Twitter :)

--

--

HouseOfCoder
HouseOfCoder

Written by HouseOfCoder

Web developer by profession. Crafting code and contemplative thoughts. Join me on a journey of tech, life, and mindfulness.

No responses yet