Not sure if you’ve seen, in most cases this seems to help - there are a hundred threads about this, with servers and/or endpoints not being found:
It’s possible that it has to be repeated after a Roon update, reinstalling, or Roon Server restart, but it might also stick for other people. I can’t tell, and my own Mac (just remote, though) has zero problems.