hello is there something i need to turn on or off to get kde connect to work thanks
Wait is this a same machine that had bluetooth issues? Kde and gbome are difrent desktops
This is gnome fork of kdeconnect
my phone doesn’t see the pc and the pc doesn’t see the phone and yes this is gnome install i have ran kdeconnect before i just can’t find the problem
Are you running a VPN on either device?
what if you fisable firewall to see it isint blickung anything if it connects all good also network discovery needs to be enavled on settings and if firewall is blickung you need to open ports
udp and tcp ports are 1714-1764 but only open if it is firewall issue
no not at the moment
i have not installed a firewall unless it comes pre installed haven’t made any changes for that this why i ask if i need to make some changes to get this working thanks
i am also using Endeavour-OS and i had to run this (sudo firewall-cmd --permanent --zone=public --add-service=kdeconnect) cmd to get it to work so this is why i was asking if i needed to make changes.
You need to allow it via the firewall the ports. Im not sure currently which are used.
thisbis from kde forums
you need to put the firewall income policy to allow this might solve alot of problems
Firewall Configuration for KDE Connect
To ensure KDE Connect works properly, you need to allow specific ports on your firewall. Below are the steps to configure your firewall using either UFW (Uncomplicated Firewall) or Firewalld.
Using UFW
Allowing TCP Ports
To allow the necessary TCP ports, run the following command:
sudo ufw allow 1714:1764/tcp
Allowing UDP Ports
Next, allow the required UDP ports with the following command:
sudo ufw allow 1714:1764/udp
Reload UFW
To apply the changes, reload the UFW settings:
sudo ufw reload
Alternative: Using Firewalld
If you prefer using Firewalld, follow these steps:
Allowing TCP Ports
To allow the required TCP ports, use the following command:
sudo firewall-cmd --zone=public --add-port=1714-1764/tcp --permanent
Allowing UDP Ports
Similarly, to allow the necessary UDP ports, run:
sudo firewall-cmd --zone=public --add-port=1714-1764/udp --permanent
Reload Firewalld
Finally, reload Firewalld to apply the changes:
sudo firewall-cmd --reload
By following these steps, you should be able to configure your firewall to work seamlessly with KDE Connect.
thanks for all the replies help out thanks
hey i found and bookmarked your solution to be perfect to make kde connect able to connect i was wondering what would be the equivalent GUI way to do the mentioned command by going in Plasma Setting - Wifi & Internet - Firewall
@ptr1337 can this be setup by default in CachyOs when installation so users could have more easy out of the box experience when trying to use kde connect
a button on the tweaks page of cachy hello to config firewall with one option for kde connect is my feature suggestion
I was having the same issue as I am new to Cachyos. If I disabled the firewall I was able to connect. I then went online and looked at UFW and found you can just allow the IP address of the phone and KDE Connect will connect to the phone. and you don’t have to open any ports.
Hopes this helps.
Sudo ufw allow from “Phones IP address”
Please add this feature @admins , I have tried so to open so many ports manually after checking with lsof -i and it still does not works.
kdeconnec 1615 user 19u IPv6 419555 0t0 UDP *:xmsg
kdeconnec 1615 user 20u IPv6 419556 0t0 TCP *:xmsg (LISTEN)
kdeconnec 1615 user 21u IPv6 415463 0t0 UDP *:mdns
kdeconnec 1615 user 23u IPv4 23210 0t0 UDP *:mdns
kdeconnec 1615 user 24u IPv6 23211 0t0 UDP *:mdns
kdeconnec 1615 user 25u IPv4 587451 0t0 UDP *:49228
kdeconnec 1615 user 26u IPv6 587452 0t0 UDP *:42101
kdeconnec 1615 user 27u IPv4 587453 0t0 UDP *:51697
kdeconnec 1615 user 28u IPv6 587454 0t0 UDP *:56116
kdeconnec 1615 user 38u IPv6 587455 0t0 UDP *:46574
❯ sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skipTo Action From
53/udp on lo ALLOW IN Anywhere
53/tcp on lo ALLOW IN Anywhere
8597/tcp ALLOW IN Anywhere
51106/udp ALLOW IN Anywhere
54760/udp ALLOW IN Anywhere
45183/udp ALLOW IN Anywhere
5353/udp ALLOW IN Anywhere
42680/udp ALLOW IN Anywhere
59401/udp ALLOW IN Anywhere
57157/udp ALLOW IN Anywhere
1716/tcp ALLOW IN Anywhere
1717/tcp ALLOW IN Anywhere
1716/udp ALLOW IN Anywhere
36556/udp ALLOW IN Anywhere
40777/udp ALLOW IN Anywhere
50341/udp ALLOW IN Anywhere
1714:1764/tcp ALLOW IN Anywhere
1714:1764/udp ALLOW IN Anywhere
53/udp (v6) on lo ALLOW IN Anywhere (v6)
53/tcp (v6) on lo ALLOW IN Anywhere (v6)
8597/tcp (v6) ALLOW IN Anywhere (v6)
51106/udp (v6) ALLOW IN Anywhere (v6)
54760/udp (v6) ALLOW IN Anywhere (v6)
45183/udp (v6) ALLOW IN Anywhere (v6)
5353/udp (v6) ALLOW IN Anywhere (v6)
42680/udp (v6) ALLOW IN Anywhere (v6)
59401/udp (v6) ALLOW IN Anywhere (v6)
57157/udp (v6) ALLOW IN Anywhere (v6)
1716/tcp (v6) ALLOW IN Anywhere (v6)
1717/tcp (v6) ALLOW IN Anywhere (v6)
1716/udp (v6) ALLOW IN Anywhere (v6)
36556/udp (v6) ALLOW IN Anywhere (v6)
40777/udp (v6) ALLOW IN Anywhere (v6)
50341/udp (v6) ALLOW IN Anywhere (v6)
1714:1764/tcp (v6) ALLOW IN Anywhere (v6)
1714:1764/udp (v6) ALLOW IN Anywhere (v6)Anywhere ALLOW OUT Anywhere
Anywhere (v6) ALLOW OUT Anywhere (v6)
Still it does not work, got it working by
i) sudo ufw reset
ii) yay -S gufw
iii) add rule for DNS, Multicast DNS and KDEconnect from + button in bottom left corner and selecting Preconfigured option