Error while loading the list of folders from the server. connection refused

I am using latest Ubunu TLS
my nextcloud instance is on raspberry pi

I can access the NC instance form devices outside my houe and from my mobile phone.

When connecting a desktop client to the nextcloud it returns Error while loading the list of fodlers form the server. connection refused.

what should i do next?