It happens in new version of nextcloud, that checks local for dot (.) in adress if there it is: /lib/private/Http/Client.php -> preventLocalAddress // Disallow hostname only
if (substr_count($host, ‘.’) === 0) {
…
The solution:
change local address with dot included address: for example local.cloud