Cannot renew site cert on same server

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., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:
I ran this command:
sudo certbot --nginx
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
An unexpected error occurred:
ValueError: Requesting Connection refused
Please see the logfiles in /var/log/letsencrypt for more details.My web server is (include version):

The operating system my web server runs on is (include version):
Debian 4.9.130-2 (2018-10-27) x86_64 GNU/LinuxMy hosting provider, if applicable, is:
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):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 1.10.1

I renewed the cert successfully for the site '' last week. Just now I was about to renew the site cert for '' but it failed. This two sites are configured on the same server.


Welcome to the Let's Encrypt Community, Sumantri :slightly_smiling_face:

From my research this type of issue appears to sometimes occur in proxy situations. Did this happen more than once?


What happens if you try (from that system):


I have to config that port. Connection refused -
curl: (7) Failed to connect to port 80: Connection refused

1 Like

Do you mean that your setup prevents outbound connections by default, and they have to be explicitly permitted?

I think @rg305 meant rather than http.


[so much for copy/paste links without checking]


Yes..that is most probable. I had to do the same thing before. Requested for an apt-update before this, had to ask permission to release port.


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