I don't know if I had exactly the same issue, but here is how I resolved it:
I hadn't been able to access .local domains or a local server via IP on macOS. Then it dawned on me that I might have clicked on "Don't allow" when a macOS popup asked 'Allow "Orion" to find devices on local networks?'. I checked the state of "Orion" in the local network section of "Privacy & Security" in System Settings. After giving permission to Orion my problem was solved.