Problem binding to port 80: Could not bind to IPv4 or IPv6 with certbot

Harry picture Harry · Sep 23, 2019 · Viewed 13.1k times · Source

I'm trying to update an SSL certificate on digital ocean with the command certbot renew But I get this error:

Problem binding to port 80: Could not bind to IPv4 or IPv6.

running netstat -plunt shows that port 80 is been used by 'docker-proxy'.

What can I do to fix this should I stop docker-proxy how do I do that?

Answer

Mariuta Mihai Dan picture Mariuta Mihai Dan · Nov 29, 2019

Try this.

systemctl stop apache2.service