I'm trying to connect my Android device to my Windows 11 PC using Scrcpy over wireless debugging with ADB, but I keep running into this error when trying to pair:
> adb pair 192.168.1.7:434223
Enter pairing code: 342322
error: unknown host service
> adb mdns check
error: unknown host service
I’ve verified that the device is on the same network, the port is correct, and the pairing code is from the developer options in Android. I've searched around, but none of the existing solutions seem to match my situation or resolve the error.
How can I fix or properly diagnose this unknown host service error when trying to use adb pair?