Bug 507482

Summary: Cannot connect on LAN network
Product: [Applications] kdeconnect Reporter: burski.marek
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: andrew.g.r.holmes
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kdeconnect logs from phone

Description burski.marek 2025-07-25 14:26:33 UTC
Created attachment 183508 [details]
kdeconnect logs from phone

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
I was never able to get to work kdeconnect when my PC is connected by cable to my network, when using Wi-Fi it is working perfectly. Wifi network and LAN are the same networks (192.168.1.0/24) provided by the same router. Ports are not blocked, it shows even connected when i check following this guide: https://userbase.kde.org/KDEConnect#Troubleshooting

netcat -z -v 192.168.1.168 1714-1764
netcat: connect to 192.168.1.168 port 1714 (tcp) failed: Connection refused
netcat: connect to 192.168.1.168 port 1715 (tcp) failed: Connection refused
Connection to 192.168.1.168 1716 port [tcp/xmsg] succeeded!
netcat: connect to 192.168.1.168 port 1717 (tcp) failed: Connection refused
netcat: connect to 192.168.1.168 port 1718 (tcp) failed: Connection refused
netcat: connect to 192.168.1.168 port 1719 (tcp) failed: Connection refused


STEPS TO REPRODUCE
1. Pair kdeconnect with PC
2. Switch network connection to cable on PC.
3. Try connect to phone again

OBSERVED RESULT
kdeconnect is in disconnected state


EXPECTED RESULT
kdeconnect is connected

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Opensuse Tumbleweed
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION