Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

2.3K
Vistas
Docker Error - 5432: bind: address already in use

I used to be able to run docker-compose using 5432:5432 port mapping, but am recently getting this error:

Error starting userland proxy: listen tcp 0.0.0.0:5432: bind: address already in use

I've gone through all of the older posts relating to this issue but have yet to be able to solve this.

I've been driving myself mad with this error for the past week trying to figure out how to stop whatever process is running with no avail.

I've tried running

lsof -i tcp:5432

which returns no results (as long as my pgadmin/server is not running)

I've also seen other posts mention running

netstat -anp tcp | grep 5432

which does return two lines:

tcp4       0      0  *.5432                 *.*                    LISTEN     
tcp6       0      0  *.5432                 *.*                    LISTEN 

But I'm not entirely sure what to do with that output?

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

Run lsof -i tcp:5432 with sudo rights:

sudo lsof -i tcp:5432

A process (very likely PostgreSQL) is listening on port 5432, preventing another to listen on that port. Stop the process, e.g. with systemctl, then you will be able to start your docker PostgreSQL.

over 4 years ago · Santiago Trujillo Denunciar

0

There is a possibility that this might be happening due to multiple instances of postgres running on your machine.

In my case, I had previously installed postgres which was always running on the machine because of which docker-based postgres was unable to start due to the above error. Uninstalling previously installed postgres helped to resolve the issue.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda