Registered Member
|
Hi there,
I have installed KDE Connect on my Android device and Linux box. But they don´t find each other. I can ping my smartphone from the Linux box, they´re in the same LAN. Then I tried to add them manually with the IP adress in the Android KDE Connect app. Did not work either. Do I have to open a tcp/udp port on my Linuc desktop PC? I guess the firewall on the Linux box may prevent the app from working? Thankx Solved by own research (again....) "KDE Connect uses dynamic ports in the range 1714-1764 for UDP and TCP. So if you are behind a firewall, make sure to open this port range for both TCP and UDP. Otherwise, make sure your network is not blocking UDP broadcast packets. " Strange thing is, I had these ports open.... Well, have disabled the firewall completely, configured KDE Connect and enabled the firewall again. Now the connection is established. I just dunno why it did not work despitec the ports were open.... |
Registered Member
|
Can confirm that having firewall (UFW) enabled, even with the 1714-1764 port range open for both TCP and UDP, the devices don't pair. In my case, the smartphone wouldn't see the computer, while the computer saw the phone, but wouldn't pair.
As soon as UFW was disabled, the smartphone saw the computer and they paired normally. Re-enabling UFW after the initial setup did not break connection. This is true for both KDE Connect on KDE and for GSConnect on Gnome. Maybe in other environments too. |
Registered Member
|
Can't connect phone (Android 9) to laptop (Ubuntu-18.04) with indicator-kde
Firewall is not enabled (sudo ufw status ==> Status: inactive) The laptop is on a LAN. tried setting its IP in the phone app - didn't help Switched the laptop to WIFI (the same network as the phone) - didn't work as well |
Registered Member
|
I confirm that this issue can be solved using,
Open gufw from app launcher Go to the Rules tab Click the [+] button to add a new rule Select the direction "Both" Select category "Network: Select Application "KDE connect" Click "Add" Problem solved. Working fine. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]