Problems renewing LetsEncypt SSL cert after setting up NGINX web server on same VM

I run Home Assistant Core 2022.6.4 in a Docker container on a Lubuntu 20.04 VM. I’ve been using a LetsEncrypt SSL cert for the last year or so without any problems, renewing it manually from the command line every couple of months using this command:

sudo certbot renew

Today when I tried to renew I got this error

Attempting to renew cert (myuser.ddns.net) from /etc/letsencrypt/renewal/myuser.ddns.net.conf produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/myuser.ddns.net/fullchain.pem (failure)

A few weeks ago I set up an NGINX web server on the same machine to host a couple of sites. I’m wondering if this might be causing the problem?