Nginx: [emerg] a duplicate listen [::]:443

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: www.qify.app

I ran this command:
sudo certbot --nginx -d qify.app -d www.qify.app

It produced this output:
nginx restart failed:
nginx: [emerg] a duplicate listen [::]:443 in /etc/nginx/sites-enabled/qify.app:17

My web server is (include version):
NodeJS (14)

The operating system my web server runs on is (include version):
Ubuntu 20.04LTS

My hosting provider, if applicable, is:
Google Domains

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 1.17.0

I visited an already started thread, but the solution was not given...

Thanks a lot

Hi @Xiaojiba, and welcome to the LE community forum :slight_smile:

Please show this file:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.