Unable to connect to phone when laptop is connected to wifi, while if connected to wired internet it works

Hello! I have a strange problem: KDE connect automatically pairs to my android phone when the phone is connected to wifi and the laptop to wired network, but it does not connect, even refreshing the devices with kdeconnect-cli --refresh or through the GUI, when both the phone and the laptop are connected to wifi.

I run EndeavourOS on my laptop, and followed the docs to allow kdeconnect, but it’s not the problem I think because even if I disable completely the firewall nothing changes.

Do any of you experienced something similar? is it possible that the problem is within my router?

thank in advance to everyone!