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

**URL:** <https://help.nextcloud.com/t/collabora-code-arm64-was-not-connected-to-because-it-violates-local-access-rules/147454>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** docker, nc25, collabora-online, ncp\
**Created:** [October 14, 2022, 7:53pm UTC](https://help.nextcloud.com/t/collabora-code-arm64-was-not-connected-to-because-it-violates-local-access-rules/147454 "2022-10-14T19:53:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [October 15, 2022, 5:05pm UTC](https://help.nextcloud.com/t/collabora-code-arm64-was-not-connected-to-because-it-violates-local-access-rules/147454/3 "2022-10-15T17:05:39Z")

</div>

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

> [@Error when trying to connect (Host violates local access rules)](https://help.nextcloud.com/t/error-when-trying-to-connect-host-violates-local-access-rules/85704):
>
> hey. i did set up onlyoffice docker, the website says " Thank you for choosing ONLYOFFICE! Document Server is running" its a completly different URL, not like “[document.mycloud.com](http://document.mycloud.com)”. When i go to settings, then i type my url, it says: Error when trying to connect (Host violates local access rules) It uses HTTPS with nginx proxy lets encrypt. both are using it. What do i have to do ? i added ‘allow\_local\_remote\_servers’ =\> true, now i get Error when trying to connect (cURL error 7: Faile…

> [@Can't connect to OnlyOffice document server after update to NC19](https://help.nextcloud.com/t/cant-connect-to-onlyoffice-document-server-after-update-to-nc19/83958):
>
> Get errors: Error onlyoffice OCP\Http\Client\LocalServerException: Host violates local access rules Warning no app in context Host 192.168.0.50 was not connected to because it violates local access rules Everything was working before update to NC19. I have added in my config.php: ‘onlyoffice’ =\> array ( ‘verify\_peer\_off’ =\> true, ),

add the setting \*\*allow\_local\_remote\_servers \*\* to your config.php or run this command:

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

```

---

_[View the full topic](https://help.nextcloud.com/t/collabora-code-arm64-was-not-connected-to-because-it-violates-local-access-rules/147454)._
