I’m having trouble accessing my nextcloud from outside after a power outage.
Everything was working fine until the power went out at home and when it came back, and I started my server, I can access my nextcloud from the monitor correctly, but from the internet, outside my LAN, there is no access.
ERR_CONNECTION_TIMED_OUT
I have turned the server off and on several times.
I have restarted apache2 and mariadb.
I have checked that the ports are open with ufw
I have checked the configuration files and everything is correct, and I have also casually looked at the SSL certificates.
My nextcloud installation is NOT on Docker, but directly on the hard drive on debian 11.
That should be your hint.
Just a suspicion, without knowledge about your network Maybe port forwarding rules failed outside of your server in the router after the power outage?
Yes naturally.
I have rebooted router and server several times and still the same.
All my equipment is connected to the router without problems, TV, Tablet, mobiles, etc.
And if I ping from another internet provider and from outside my local network, it also looks fine and no packet sent is lost.
In other words, from outside my LAN it can be seen, but it doesn’t resolve the name or something like that, and my DNS No-IP provider says that there are no problems.
I don’t understand anything. And all because of a power outage…
From your LAN, could you go to https://www.whatismyipaddress.com and check what your current IP is?
Then via nslookup (best away from your LAN) check what the resolved IP is for domain blablabla.ups.
Sorry, thought that with blablabla.ups you meant your (obscured) hostname which you use to reach your nextcloud instance from the internet. Can you please with the real one (do not post it). For example via DNS Lookup Tool - DNS Tools - MxToolbox.
That lookup should match the IP that you get from https://www.whatismyipaddress.com. If not, your browser on the internet is not connecting to your instance.
Good to hear it is working again. Best thing would be to update your address automatically via a DDNS client or via your router (not all routers have this though). In this way it does not matter when your IP address changes (for example during a reboot of the router).