手机无法连接 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
    


寻找知识的源头,探索宇宙的奥秘。
知识的存放地址:人的大脑里、书里、互联网上、自然界里。
获取知识的最优路径:精品课程 > 精品书籍 > 官方文档 > 优质文章 > 与人交流(互为补充,构建知识体系)。
内外兼修,形神合一。

原文地址:https://www.cnblogs.com/keatonlao/p/12706844.html