Kobo Install Reloading Nginx an error has occured

Below is the last lines of the kobo-install run.py --setup command on ubuntu 20.04 server
Earlier my setup was working fine but now getting the error at the last regarding the nginx container. Please help. I have replaced the domain names with … for obscuring. The kf, kc and ee subdomains have configured correctly to this server.

Creating nginx-certbot_certbot_run … done
Creating nginx-certbot_nginx_ssl_proxy_1 …
Creating nginx-certbot_nginx_ssl_proxy_1 … error

ERROR: for nginx-certbot_nginx_ssl_proxy_1 Cannot start service nginx_ssl_proxy: driver failed programming external connectivity on endpoint nginx-certbot_nginx_ssl_proxy_1 (be82a202f36900a892bf1ba626e3d6989c1559a6cb8c2d51b3de2c23abfe06d6): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use

ERROR: for nginx_ssl_proxy Cannot start service nginx_ssl_proxy: driver failed programming external connectivity on endpoint nginx-certbot_nginx_ssl_proxy_1 (be82a202f36900a892bf1ba626e3d6989c1559a6cb8c2d51b3de2c23abfe06d6): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use
ERROR: Encountered errors while bringing up the project.
Creating nginx-certbot_certbot_run … done
Creating nginx-certbot_certbot_run … done

Creating dummy certificate for … …

Generating a RSA private key
…+++++
…+++++
writing new private key to ‘/etc/letsencrypt/live/…/privkey.pem’

Starting nginx …

Deleting dummy certificate for … …

Requesting Let’s Encrypt certificate for …

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for … and 2 more domains

Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/…/fullchain.pem
Key is saved at: /etc/letsencrypt/live/…/privkey.pem
This certificate expires on 2022-11-23.
These files will be updated when the certificate renews.

NEXT STEPS:

  • The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See User Guide — Certbot 1.29.0 documentation for instructions.

If you like Certbot, please consider supporting our work by:

  • Donating to ISRG / Let’s Encrypt:
  • Donating to EFF:

Reloading nginx …

An error has occurred

Hi I have more or less the same error

Creating nginx-certbot_nginx_ssl_proxy_1 … error

ERROR: for nginx-certbot_nginx_ssl_proxy_1 Cannot start service nginx_ssl_proxy: driver failed programming external connectivity on endpoint nginx-certbot_nginx_ssl_proxy_1 (9ba82176cbef138f6e8d5cd442d54406873e2b8ee17e376d8f7297cda8315ec8): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use

ERROR: for nginx_ssl_proxy Cannot start service nginx_ssl_proxy: driver failed programming external connectivity on endpoint nginx-certbot_nginx_ssl_proxy_1 (9ba82176cbef138f6e8d5cd442d54406873e2b8ee17e376d8f7297cda8315ec8): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.

It is a fresh installation on ubuntu 18.04 and using docker-compose 1.28.5

all the other settings seems to work correctly

I used kobo-install script