About Checking if a Port is Open

When you want to check if some service like Memcached, Redis, PostgreSQL, MySQL, Gunicorn, Apache or Nginx can be accessed on specific port, you can check its openness with:

$ nc -vz <ip_or_domain> <port>

For example, this checks if PostgreSQL is running on the same server and on its default port:

$ nc -vz 127.0.0.1 5432

Tips and Tricks Dev Ops Databases Maintenance PostgreSQL MySQL Apache

Django/Python Consulting

If you have a specific Django challenge or integration you'd like to solve, I'd be happy to help. Book a free 30-minute call to discuss your project, see if we're a good fit, and explore the best approach for your needs. After the call, you'll receive a tailored cost estimate based on what we discuss.