I’m trying to setup my Let’s Encrypt Docker on my Unraid Server. I followed the youtube tutorial from Spaceinvaderone to help me get setup. I have a feeling that my router is causing me some issues as there was a step in the tutorial that I was unable to do. I was able to port forward 80 and 443 however in his video he also redirected the target IP to 180 and 1443. My router does not seem to support that portion.
When I try to setup the docker container using 80 and 443 it gives me the following error and fails.
/usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint letsencrypt (df8a1495012c62b59a9a883fdb27297915238ae99ed889d0c06879796418eba4): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.
The command failed.
I was able to change the ports to 8080 and 8443 (and port forward these in my router) in the docker setup and I was able to get it to install.
The next error I’m getting is an unauthorized 404 invalid response form with this current setup and it asks me to check my spellings for my server.
If I turn off the port forwarding for 80 and 443 in my router I get a likely firewall problem.
If I turn off the port forwarding for 8080 and 8443 but leave the 80 and 443 open I get the 404 response error instead even though my docker is configured for 8080 and 8443.
I am not able to post the full log errors at the moment because I hit the rate limits while I was messing with it. Not sure how long until I can do that again?
Thank you for your reply. Excuse my lack of intelligence on this topic for any of the following questions. This is really something I just found a few days ago and have looked at a small handful of tutorials trying to get my particular set up working.
You mention using http-01 validation and my client creating a file. Where is this file being created? On my server or on the internet? I don’t believe I have any upload capability directly to duckdns at all. Are there any tutorials or pages I can follow that you’re aware of to set that up?
As for the port 80 and the complicated setup - Spaceinvaderone did mention that unraid uses port 80 which is why I needed to do the ip redirect. As for using my web server directly I don’t have anything else running that would be able to do that I believe. My unraid is being used mainly for storage of movies and tv for Plex. There are a few other dockers for downloads as well as openvpn for remote management. The reason for working to get this setup is first and foremost to link my Smartthings to my Home Assistant docker, and secondarily it looks like I’ll need to use it for Nextcloud when I take that step.