Nextcloud snap with onlyoffice snap

Hello everyone!

I recently installed NextCloud from snap and it’s working fine. I then install onlyoffice document server from the app store, but it doesn’t save files properly. When I download a file, the downloaded file does not have the changes made, but the version still on Nextcloud has the changes.

I have decided to install onlyoffice document server separately and using snap. But since snap uses port 80 and 443, there’s conflict.

Is there someone who can advise me on what to do?

Reinstalling NextCloud is not an option because of the number of users and files already created.

cheers:)