pillarhuang

pillarhuang

群辉远程安装 plex 记录
2023-09-14

1. 安装 plex

  • 路径: 套件中心 - 搜索 - plex - 安装Plex Media Server - 打开

  • 跳转链接进行首次初始化,端口号 32400,如果在通过外网访问,记得放开该端口

http://xxx.top:32400/web/index.html#!/setup/2044c3cb644c2aa82344b59d0fdf7bd8cb9277c1

访问出错,提示如下

Not authorizedYou do not have access to this server.

You may be able to claim it by choosing "Open Plex..." from the Plex menu in the macOS menu bar or Windows system tray. For more troubleshooting tips, see our support article.

Tip!: If you’re opening the web app this initial time on a device other than the one running the Plex Media Server, you need to take extra steps. See the information in our installation article for Plex Media Server.


  • 访问 installation article

  • 查询到:Opening the Plex Web App on a Device Other than the Server Itself

On a Different Network

If you’re on a different network than the server computer (or the entire “local network” is not in the private network IP ranges), you’ll first need to set up a SSH tunnel so that you can access things as if they were local.

Tip!: This is only necessary for the initial setup. Once you’ve gone through the setup, you can access as normal.

  • Open a Terminal window or your command prompt

  • Enter the following command (substituting the IP address of your server as appropriate): ssh -L 8888:127.0.0.1:32400 ip.address.of.server

    • Open a browser window

    • Type http://127.0.0.1:8888/web into the address bar

    • The browser will connect to the server as if it were local and load Plex Web App

  • 根据以上信息,需通过ssh -L 建立隧道,将群辉nas的 32400 端口映射到本地,参考说明文档

     两种方式均可
    # 通过域名
    ssh -N -f -L 8888:127.0.0.1:32400 admin@xxx.top

    # 通过 ipv6
    ssh -N -f -L 8888:127.0.0.1:32400 admin@240e:379:xxxx:xxxx::2cd
  • 查看端口占用:lsof id:8888

  • 注意事项:


问题1:

在您的网络外部不可用

您的服务器已登录到 Plex,但是无法从您的网络外部进行连接。了解更多


解法:openwrt 路由器开启: 启动 UPnP 与 NAT-PMP 服务

  1. Ensure your Plex Media Server is signed in to your Plex account (Remote Access requires signing in)

  2. For automatic configuration, make sure your router supports the “UPnP” or “NAT-PMP” feature

  3. If you are manually forwarding a port, set that forward up beforehand and make sure you know the external port number which you are forwarding (remember that you need to forward the external port you choose to internal port 32400 for the internal IP address of the device running Plex Media Server)

问题2:

客户端下载很慢,最多不超过1MB/s

解法:

安装 https 证书,参考:https://zhuanlan.zhihu.com/p/350502136


发表评论: