Phone in Remote Devices keep on showing Disconnected and vice versa on my phone to my pc

I’ve tried searching it up but nothing seems like it works for me, I’ve tried restarting my phone and pc multiple times. Any help?