I want to deploy an SonarQube server and use nginx as the HTTPS proxy. So I chose Let’s encrypt and certbot. The server deploys on my own laptop so I can do everything on it. Everything seems ok, but it failed becasue of a time out error. You can access http://sonarqube.xsun.io/.well-known/acme-challenge/test to see it is accessible.
My domain is:
I ran this command:
sudo certbot certonly --webroot -w /home/xsun2001/letsencrypt -d sonarqube.xsun.io
It produced this output:
IMPORTANT NOTES: - The following errors were reported by the server: Domain: sonarqube.xsun.io Type: connection Detail: Fetching http://sonarqube.xsun.io/.well-known/acme-challenge/Fu_tH7UGxJ5RVWwOnFnsBAvGRYlAxmpxu54uTJv6leQ: Timeout during connect (likely firewall problem) To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.
My web server is (include version):
nginx version: nginx/1.14.0 (Ubuntu)
The operating system my web server runs on is (include version):
Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-29-generic x86_64)
My hosting provider, if applicable, is:
It is my own laptop.
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):