Failed authorization procedure. example.com (tls-sni-01): connection

Good morrning

run the following command

sudo ./letsencrypt-auto -d example.com auth

Domains: example.com
Error: The server could not connect to the client for DV

To fix these errors, please make sure that your domain name was entered correctly and the DNS A 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.
2015-11-17 17:55:05,412:INFO:letsencrypt.auth_handler:Cleaning up challenges
2015-11-17 17:55:05,412:DEBUG:letsencrypt.plugins.standalone:Stopping server at 0.0.0.0:443…
2015-11-17 17:55:05,531:DEBUG:letsencrypt.cli:Exiting abnormally:
Traceback (most recent call last):
File “/root/.local/share/letsencrypt/bin/letsencrypt”, line 11, in
sys.exit(main())
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py”, line 1187, in main
return args.func(args, config, plugins)
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py”, line 497, in obtain_cert
_auth_from_domains(le_client, config, domains)
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py”, line 326, in _auth_from_domains
lineage = le_client.obtain_and_enroll_certificate(domains)
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/client.py”, line 254, in obtain_and_enroll_certificate
certr, chain, key, _ = self.obtain_certificate(domains)
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/client.py”, line 237, in obtain_certificate
return self._obtain_certificate(domains, csr) + (key, csr)
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/client.py”, line 195, in _obtain_certificate
authzr = self.auth_handler.get_authorizations(domains)
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/auth_handler.py”, line 84, in get_authorizations
self._respond(cont_resp, dv_resp, best_effort)
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/auth_handler.py”, line 142, in _respond
self._poll_challenges(chall_update, best_effort)
File “/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/auth_handler.py”, line 204, in _poll_challenges
raise errors.FailedChallenges(all_failed_achalls)
FailedChallenges: Failed authorization procedure. example.com (http-01): connection :: The server could not connect to the client for DV :: Could not connect to http://example.com/.well-known/acme-challenge/Eot26qQbyBt1HreLPxEypL4JRpJzLJUU50Aod3EmpQQ

port 443 and 80 are enabled,
the host this public

Any ideas why I make this mistake.
I want to use the certificate for a JBoss application server
correct this command I’m using?

Thank you for your help

Hi, i think you do not own “example.com” you need the correct domain to get it working.

if I put as an example my domain is clientesalf.red-alf.mx

Hi, at the moment there is no server listening on port 80 to port 443 there is even an no route to host message.
I think this is the problem on acme server too.

Verbindungsaufbau zu clientesalf.red-alf.mx (clientesalf.red-alf.mx)|187.252.154.50|:443… fehlgeschlagen: Keine Route zum Zielrechner.

you mean that my site is not accessible to that port?

At the moment 80 and 443 are not accessible.

There is another option to place another port in the command?