Bug 463294 - kde connect only listen to ipv6 traffic and ignores ipv4.
Summary: kde connect only listen to ipv6 traffic and ignores ipv4.
Status: RESOLVED NOT A BUG
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-21 00:35 UTC by Vlad Adamenko
Modified: 2023-03-17 06:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Adamenko 2022-12-21 00:35:10 UTC
STEPS TO REPRODUCE
1. Run KDE-Connect
2. run following command in the console
    sudo netstat -tunelp | grep -i kdeconnect


OBSERVED RESULT
tcp6       0      0 :::1716                 :::*                    LISTEN      1000       34360      2260/kdeconnectd    
udp6       0      0 :::1716                 :::*                                1000       34359      2260/kdeconnectd   

Please notice, that required port is only open for ipv6.

EXPECTED RESULT
Open ports for both ipv4 and ipv6 or ability to change this behaviour.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KUbuntu 22.04.1 LTS
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Vlad Adamenko 2022-12-21 00:39:06 UTC
KDE Connect version: 21.12.3 ( which is latest available in kubuntu repository, but not available in the list to choose from )
Comment 2 Kevin Christmas 2023-01-06 23:41:58 UTC
I'm observing the same. Also running Kubuntu 22.04.1 LTS

kde-connect version is 21.12.3-0ubuntu1
Comment 3 Kevin Christmas 2023-01-06 23:50:45 UTC
Running netcat from another machine shows connectivity using IPv4. It's not clear why my phone won't connect and why netstat shows that's only listening to IPv6 ports
Comment 4 ©TriMoon™ 2023-03-15 10:30:53 UTC
Does your current connection have any IPv4 address configured?
Maybe your DHCP server only assigns an IPv6 address to your connection...
Comment 5 Kevin Christmas 2023-03-15 20:28:22 UTC
Issue has resolved itself on my machine.
Comment 6 tagwerk19 2023-03-15 21:39:48 UTC
(In reply to Vlad Adamenko from comment #0)
> OBSERVED RESULT
> tcp6       0      0 :::1716                 :::*                    LISTEN      1000       34360      2260/kdeconnectd    
> udp6       0      0 :::1716                 :::*                                1000       34359      2260/kdeconnectd   
Maybe...
    https://bugs.kde.org/show_bug.cgi?id=417615#c3
Comment 7 Vlad Adamenko 2023-03-16 20:13:24 UTC
Yes indeed, i can connect to the port  with nc from the same PC, from other PC in a different subnet, and from Phone.

It's still doesn't explain, why kdeconnect on the phone cannot discover PC, but now, it's different story.

We can close this one.
Comment 8 tagwerk19 2023-03-17 06:24:10 UTC
(In reply to Vlad Adamenko from comment #7)
> We can close this one.
Will do, I've set it as "not a bug". Hope that's OK.