Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Big data in Bind for 0.0.0.0 failed 80 failed: port is already allocated. What's the solution?

Shulou Source: shulou.com Published: 2022-06-01 17:30:17 10月04日 Update

This article introduces Bind for 0.0.0.0:80 failed: port is already allocated. What is the solution? The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.

0.0.0.0:443 failed: port is already allocated

Bind for 0.0.0.0:80 failed: port is already allocated.

In a word, the port occupied by the container has not been completely released

Check the process and find that the container is not running, but docker-proxy is still bound to the port:

ps -aux | grep -v grep | grep docker-proxy

Stop the doker process, delete all containers, delete local-kv.db, and start docker.

$ sudo service docker stop$ docker rm $(docker ps -aq)$ sudo rm /var/lib/docker/network/files/local-kv.db$ sudo service docker start Bind for 0.0.0: 80 failed: port is already allocated. If you think the article is good, you can share it so that more people can see it.

Tags: Containers data solutions content more processes help yes word interest guys buddies that is files articles knowledge ports articles references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology MySQL Shulou Information Shulou Tech Info