手机无法连接 GSConnect:防火墙未开放端口

访问 gnome-shell-extension-gsconnect Wiki 查看解决办法。

防火墙未开放端口

GSConnect requires ports 1716-1764 for TCP and UDP. 如果开启防火墙,检查端口是否开放。

Ubuntu 上操作如下:

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
    $ sudo apt remove  kdeconnect
    

posted on 2020-04-15 17:43  keatonlao  阅读(520)  评论(0编辑  收藏  举报

导航