Collabora CODE (arm64) "was not connected to because it violates local access rules"

I hint the issue in the past as well, likely this is the reason

add the setting **allow_local_remote_servers ** to your config.php or run this command:

docker exec --user www-data ${your nextcloud container} php occ config:system:set allow_local_remote_servers --value true --type bool