Connection fails to my other mac

I am running roon on a mac and want to connect to a folder on my other mac. This has worked before on a previous mac but not on the replacement. I have tried everything but it keeps saying “not authorized”. Everything is the latest version. The Macs see each other fine.
Anybody any clue?