I’ve issues with KDE connect on my Neon PC (KDE neon 5.27 and KDE Connect 23.08.4). My phone on the same network does not show up. I’ve an other PC with Kubuntu (20.04.6 and KDE Connect 1.4-0ubuntu5) on the same network and the my phone shows up in KDE Connect but not my Neon PC. Most interesting: the Kubuntu PC is visible in KDE Connect on the Neon PC!
When I do “the usual stuff” on my Neon PC I get:
$ netcat -z -v 192.168.200.188 1714-1764
netcat: connect to 192.168.200.188 port 1714 (tcp) failed: Connection refused
netcat: connect to 192.168.200.188 port 1715 (tcp) failed: Connection refused
Connection to 192.168.200.188 1716 port [tcp/*] succeeded!
...
where 192.168.200.188 is the IP of my phone. The firewall on my Neon PC is completely disabled. Doing:
I don’t use KDE Connect, because I found it did very little with my iPhone. However, when I tried to get it working, I had to open certain ports in my firewall.
I’ve personally had similar issues with KDE connect on 5.27.x on Fedora.
I followed the trouble shouting steps a few times to figure out what is wrong, they do show, there can be data sent between my phone and computer, but they won’t connect, which I couldn’t figure out fully, why that is the case?
I suspect it’s because I use vpn on both devices. Even with local network discovery enabled on both, kde connect does not work.
I’m waiting on Plasma 6 to drop to see if it’s still an issue.
I had to go dig it out of my rss feed but this blog post might explain why kde connect is often unreliable.
Discovery is possible in the current protocol using UDP broadcasts, but the state of the art nowadays is to use multicast DNS (mDNS) instead, which is more reliable and less often blocked by the network configuration. We wanted (and tried) to adopt mDNS for a while, but it was a a bigger endeavour than what we could tackle.
Thanks, but all systems are on the same broadcast domain / network segment. When you have a look at my initial post you will see that the UDP broadcast packets arrive at my client. The UDP broadcasts are not the problem. The problem is some where in the current stable Neon release. See my latest post, with “testing” it works.
BTW: entering the IP of my desktop on Android has no effect.
Neon is a weird one, All plasma packages should update to most stable version once available, that’s assuming you’re on the stable version of neon, not the testing branch.