2023-11-08, 03:55 PM
(2023-11-08, 08:12 AM)bond-title-bond Wrote: On web browsers it just doesn't load. On the android app it says "Tried 5 candidates for input, without success. Unable to reach server" then it shows 5 variations of my domain (https, http, port 8096 and 8920.
I'm trying to access it via public internet.
The nameserver is pointed at cloudflare. And DNS on cloudflare is pointed at my public IP.
It was working yesterday morning. But I uninstalled openmediavault because I couldn't get it to stop listening to port 80 and I caddy kept telling me I had a syntax error on the caddyfile. Once it was working (accessible via public internet through my domain name) I reinstalled openmediavault. I forgot to set the private IP to static so it changed. I couldn't get caddy to reload the new IP on the caddyfile without getting errors so I reinstalled caddy, changed the caddyfile to exactly what it was except the IP change and now it only works when I'm connected to the local network
I've never used CloudFlare before, but I would check their logs to see if you can tell whether it's getting hit or not. I would also check Caddy's logs to see if the requests are making it to Caddy. Depending on the results, you might consider pulling CloudFlare out of the path altogether by pointing DNS directly at your public IP address (one other thing to verify is that you don't have any firewall rules in the path, particularly if you're using a cloud provider). Essentially you have to figure out where the failure point is (maybe you're already identifying that it's a caddy problem? I can't quite tell).