Open Firewall Configuration (firewall-config). In Zones ➔ Services, check the kde-connect service.
firewall-config