Could not connect to

Please fill out the fields below so we can help you better.

My domain is: nextcloud.heiner.nl

I ran this command: letsencrypt certonly --webroot --webroot-path /var/www/html --email gerard@heiner.nl --csr signreq.der

It produced this output:
Domain: intranet.heiner.nl
Type: connection
Detail: Could not connect to intranet.heiner.nl

Domain: nextcloud.heiner.nl
Type: connection
Detail: Could not connect to nextcloud.heiner.nl

Domain: syspass.heiner.nl
Type: connection
Detail: Could not connect to syspass.heiner.nl

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. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.

My operating system is (include version):
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

My web server is (include version):
apache2.4

My hosting provider, if applicable, is:
own server. DNS hosted by Strato Firewall does NAT translation on port 80 and 443
url are pingable and websites are working

I can login to a root shell on my machine (yes or no, or I don’t know):
yes, i have full control over this machine

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
If have tried for server days to get a certificate but nothing is working, i read a lot of messages on the internet but the solution is not there unfortunatelly.

the websites i’m running are accessable through the internet, and also is the directory .well-known/acme-challenge. I tested that serveral times.

i see in my access log
xx.xxx.xxx.xxx - - [15/Nov/2016:21:09:01 +0100] “GET /.well-known/acme-challenge/9JQmuj8E9cdk5YA0TbaT2DKLACyKktcAPL4ytx-JSQI HTTP/1.1” 200 445 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
xx.xxx.xxx.xxx - - [15/Nov/2016:21:09:04 +0100] “GET /.well-known/acme-challenge/eD8m3zLewf_0NLpxrhzS9t4p1QGJPs07vUUN0mUfnwE HTTP/1.1” 200 445 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
xx.xxx.xxx.xxx - - [15/Nov/2016:21:14:46 +0100] “GET /.well-known/acme-challenge/eD8m3zLewf_0NLpxrhzS9t4p1QGJPs07vUUN0mUfnwE HTTP/1.1” 200 445 “-” "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"
xx.xxx.xxx.xxx - - [15/Nov/2016:21:14:50 +0100] “GET /.well-known/acme-challenge/9JQmuj8E9cdk5YA0TbaT2DKLACyKktcAPL4ytx-JSQI HTTP/1.1” 200 445 “-” “Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36”

A copy of the letsencrypt.log is found on : http:/nextcloud.heiner.nl/log

proof of accessability of .well-known
http://nextcloud.heiner.nl/.well-known/acme-challenge/JV5d4WVvHlea7B-8hZqASOoqCijYKG8oqO30qPGMh4U

My server is currently setup for http and al i wanted is the certificate before i completly install the website an make it ssl/https.

I tried letsencrypt and also cert-auto

What ever i try i always get cannot connect error. I hope somebody can help me with this strange problem i have.

Down for me

 9  134.222.93.139 (134.222.93.139)  34.482 ms  34.384 ms  34.341 ms
10  nl-asd-dc2-git-cr04.kpn.net (213.75.1.83)  34.472 ms  34.429 ms  34.390 ms
11  * * *
12  * * *
13  * * *

thx,

i’m overlooked for days the something in my router. After i put my machine in the dmz instead of port forwarding ecerthing worked like a charme. Thx for pointing me in the right direction.

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