Cannot add an account to desktop client

NextCloud:
Add Nextcloud account:
Failed to connect to https://localhost:8080: SSL handshake failed: Error during SSL handshake: error: 0A0000C6:SSL routines::pocket length too long, 0A000139:SSL routines::record layer failure

My device is macOS Sequoia 15

Hello @4pastor ,

welcome to the community of Nextcloud.

You started a topic in support category.
Unfortunately you ignored the template and a lot of information to help you is missing.

Please add all necessary information like Nextcloud version, webserver type and version, os version, related log file content.

Without additional information the community members cannot help you.

Regards,
rakekniven

By default port 8080 ist not secured with SSL and not configured for accessing Nextcloud.
“localhost” is expecting Nextloud server on the same computer as the Nexcloud client.

So please fill the “Support Template” first as mentioned above.