Mobile phone cannot connect to GSConnect: firewall does not open port

Visit the gnome-shell-extension-gsconnect Wiki to see the solution.

The firewall does not open the port

GSConnect requires ports 1716-1764 for TCP and UDP . If the firewall is turned on, check if the ports are open.

The operation on Ubuntu is as follows:

sudo ufw status
sudo ufw enable
sudo ufw allow 1714:1764/tcp
sudo ufw allow 1714:1764/udp

Network Error

GSConnect requires ports 1716-1764 for TCP and UDP. This error means another program is using those ports, usually KDE Connect (kdeconnectd).

  1. Check if KDE Connect is running

    If you have recently uninstalled KDE Connect the server may still be running.

    $ pidof kdeconnectd
    18839
    $ lsof -i UDP:1716
    COMMAND     PID   USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
    kdeconnec 18839 andrew   19u  IPv6 2394913      0t0  UDP *:1716
    
  2. Stop KDE Connect (kdeconnectd) if it is running

    You should also uninstall KDE Connect, since it will start each time you log into your session.

    $ killall -9 kdeconnectd
    

Guess you like

Origin www.cnblogs.com/keatonlao/p/12706844.html