I manually added it to the network firewall rules via nextcloud.exe in the nextcloud installation folder, but I’m still getting the same error. Can you give me more details on which rule should be added?
I didn’t have to set up any rules. Just check the logs if some query receives no reply and which one (from the client’s logs). If you connect a working client, you should find these queries in the webserver log of your Nextcloud server.
Question is if the client receives an answer, perhaps with permission denied, this should be different from when no connection is possible. When no connection is possible, it can be a network issue or something prohibiting the connection like a firewall. Or depending on a network you have to pass through a proxy server to establish outside connections.
That’s a bit the question what is different between a working machine and a non-working, are they on the same network?
I’ve checked /var/www/nextcloud/data/nextcloud.log, but it doesn’t seem to log any failed connection attempts from the Nextcloud Desktop Client. This is also true of the logs page that I can see in the Nextcloud admin page.
If one of them is mobile, you can put them in the same environment. If the non-working is in the same network as the server, it looks related to your network. Some have problems if the DNS is resolving the public IP and reaching the server on the local network with the public IP can be a problem. What is strange that it works on the browser …