remove the space after the comma see [BUG]: Invalid WOPI Allow list isn't communicated to the user 路 Issue #2685 路 nextcloud/richdocuments 路 GitHub
Fail: 127.0.0.1 45.151.88.100
Fail: 127.0.0.1, 45.151.88.100
Work: 127.0.0.1,45.151.88.100
you may want to consider using aliasgroups instead of WOPI: Install & configure Collabora CODE on Nextcloud with Docker