NextCloud local network error

Hello,

Yesterday, I placed my NextCloud server locally, and for a few hours, I had access via my local network.https://xxx.xxx.x.xxx, from mobile too (via web), but now I can’t access from the same laptop I was using from the start, and from mobile too, with a few hours of difference. I have not changed any configuration, and if I try from other devices, I can access.

It’s like I got some type of ban from my local network for the NextCloud server?

EDIT:
The error i get from firefox is:
Can not connect

An error occurred connecting to 192.168.1.121.

  • The site might be temporarily unavailable or too busy. Please try again in a few moments.
  • If you can’t load any pages, check your computer’s network connection.
  • If your computer or network is protected by a firewall or proxy, make sure Firefox has permission to access the web.

Please, help.

Is the web server running on that server? Apache? Nginx? Maybe restart it?

If it is running, is there some error in the logfile?

1 Like

Hello,

Thanks for the reply; now that I can access via the laptop, I can confirm that each time I lose access, doing a reset on my router grants me access again.

I used a CT on a PVE server with a debian-11-tunkey-nextcloud template with next-next-next configuration.

Maybe I need to set some configs to grant permanent access to some IPs.

Thnks.
Have a good day!

FOR PEOPLE WITH THE SAME ERROR! I hope this helps you guys!
Today I was experimenting, and this is what I did to connect my cloud to the internet:

  • Open ports on the router (i.e., external range = 2525:2525 and internal range = PRIMIRDIAL! 443:443), because nextcloud works with https all the time.
  • forwarding ports to internal port 443:443.
  • I use no-ip with DNS Host A to port 2525, and that’s all.

if you use proxy nginx add these lines ;
rewrite ^/.well-known/carddav https://$server_name/remote.php/dav/ redirect;
rewrite ^/.well-known/caldav https://$server_name/remote.php/dav/ redirect;

this solve it for me