Ok you have probably tried this but….. have you went to permissions and made sure that your device is able to be discovered by other devices? (There are two places if I remember right- one is obviously bluetooth/wifi, but the other was in update and security under “for developers” under “device discovery” which makes your device visible to usb connections and your local network).
If you haven’t tried that give it a go. That is what worked for me :)
If you have- sorry that was my best guess! I tried everything before that and that is the only thing that worked (and then I had to restart it after for the changes to take effect) It was a sudden change from an update the computer went through that changed my configuration.