Devices still cannot find each other.
How do I get this to work?
I can transfer files between the two devices with bluetooth, but I don’t want to use Bluetooth I want to use WiFi. Here is some other data that might be helpful:
Plasma 6.0.1
Shell: zsh 5.9
Kernel: 6.7.9-arch1-1
My phone is a Pixel 8 Pro running GrapheneOS.
First try turning off the firewall just to see if it works, if it does then we know it is a firewall problem. We can then turn it back on and try and figure it out from there.
I disabled it with systemctl and confirmed it was inactive. After this, I opened the settings menu and went to the KDE Connect section. Clicked refresh, still not finding my phone. Phone still not finding PC.
netcat -z -v xxx.xxx.x.xxx 1714-1764
This command still takes over two minutes to run and returns absolutely nothing.
What’s the next step?
It is the firewall causing the problem. See here for more info and the correct ports to open to allow the phone to be seen. Or as @d-air1b said, you could just disable it (I realize you didn’t necessarily mean to disable it permanently, rather for testing purposes).
This was actually the solution. I was connected to a VPN with “always-on VPN” and “Block connections without a VPN” also turned on. I disabled them, and I was able to find and connect to my PC.
I also tried re-enabling the firewall, and it still works, probably thanks to those commands from the wiki.