rdo164 / XR-CTR

Proyecto final IoT
https://rdo164.github.io/XR-CTR/
0 stars 0 forks source link

Abrir contenedor. Error: Docker Error bind: address already in use #3

Closed rdo164 closed 6 months ago

rdo164 commented 6 months ago

Al abrir el contenedor me ha saltado : RROR: for mqtt-broker Cannot start service mqtt-broker: driver failed programming external connectivity on endpoint mqtt-broker (chsbjnldkñmcoks): Error starting userland proxy: listen tcp4 0.0.0.0:1883: bind: address already in use

rdo164 commented 6 months ago

Solución

sitio web

docker-compose down  # Stop container on current dir if there is a docker-compose.yml
docker rm -fv $(docker ps -aq)  # Remove all containers
sudo lsof -i -P -n | grep port_number  # List who's using the port
sudo kill id