MediaMonkey DLNA/UPnP 服务器无法访问/投射失败

DLNA/UPnP 客户端或 Wi-Fi 同步客户端(例如 Android 版 MediaMonkey (MMA))可能无法访问 Windows 版 MediaMonkey (MMW) DLNA 服务器共享的内容,原因是各种网络、安全/访问控制问题或配置问题导致服务器无法宣布其可用性和/或共享内容。当您从 MediaMonkey 投射/流式传输到 Chromecast/DLNA 客户端时,MediaMonkey 还需要从您的防火墙进行访问。当 MediaMonkey 中未启用媒体服务器时,投射将使用具有随机端口的临时服务器来投射媒体。如果您的 DLNA 客户端无法访问服务器上的内容或 MediaMonkey 无法投射,请尝试以下每种方法:

  1. 验证服务器是否正在运行且配置正确:
    1. 在 MMW 中,单击“工具”>“选项”>“媒体共享”,然后验证服务器是否已启用并正在运行。如果没有,请启用它。
    2. 双击服务器(它将被命名为“MediaMonkey 库”之类的名称),并确保客户端的 IP 地址/MAC 地址在“已启用”列中被选中。如果未列出,则尝试使用 MMA 连接到 MMW UPnP/DLNA 服务器,MMW 将提示您启用对客户端的访问(或者,您可以启用“自动与所有新设备共享”,但如果您想限制对库的访问,这可能不是理想的选择)。
  2. 确保 Windows 的网络连接设置为“私有”而非“公共”(“设置”>“网络和 Internet”> 双击活动网络 > 将网络配置文件设置为“私有网络”)。默认情况下,当网络连接设置为“公共”时,Windows 将阻止应用程序访问本地网络。
  3. 确保防火墙没有阻止连接。
    1. 如果问题在安装 Windows 更新后出现,则问题可能是防火墙设置被重置。尝试更新到最新版本的 MMW - 它将重新安装防火墙规则,可能会解决问题。
    2. 确保 Windows 防火墙已配置为允许传入到 MMW 的连接。转到
      1. 控制面板 > 系统和安全 > Windows 防火墙 > 允许的应用程序,并启用与 MediaMonkey 的私人(或如果您从外部访问则为公共)连接。
      2. Windows 防火墙 > 高级设置 > 入站规则,以及
        • 确保有一条规则允许通过 MMW 中配置的 TCP 端口进行传入的 UPnP 连接(您可以在工具 > 选项 > 媒体共享 > 双击服务器 > 单击服务器选项卡中查看)。
        • 确保有一条规则允许通过 UDP 端口 1900 传入的 SSDP 连接。
        • 重新启动机器以确保更新的规则生效。
    3. 或者,尝试暂时禁用防火墙,看看是否能解决问题(您可能希望在防火墙禁用时断开路由器与互联网的连接)。
  4. 确保其他应用程序没有阻止 MediaMonkey 的媒体服务器
    1. Windows 上的 BubbleUPnP 可能会干扰 MediaMonkey 向 DLNA 客户端提供媒体服务器或投射到其他 DLNA/Chromecast 客户端的能力。
  5. 消除与网络相关的基本问题:
    1. 确保客户端连接到正确的 Wi-Fi 网络(如果通过 Wi-Fi 连接)。访客 Wi-Fi 网络通常会阻止设备查看同一网络上的其他设备。
    2. 验证您的路由器是否支持多播数据包和 UPnP 路由和发现(大多数路由器开箱即用)
    3. 确保您的 Windows PC 上启用了“网络发现”。
    4. 如果路由器冻结,请重置它(这只是预防措施 - 无需重新配置任何内容)
    5. 在远程设备(例如运行 MMA 的设备或另一个 UPnP 客户端)上,禁用/重新启用 Wi-Fi 连接。
    6. 如果服务器进程停止或 Windows 防火墙在空闲时阻止了 UPnP/DLNA 服务器,请重新启动 Windows 版 MediaMonkey。
  6. 验证其他更高级的网络问题是否不会导致该问题:
    1. 如果您的服务器有 > 1 个网络适配器,请确保服务器配置了与所需网络接口的子网掩码相对应的值。在 MMW 中,转到工具 > 选项 > 媒体共享 > 双击服务器 > 单击服务器选项卡,然后将 IP 地址从自动更改为所需设置。
    2. 确保使用的 TCP 端口号不与任何其他应用程序冲突(例如,Windows Media Player 使用端口 2869,serviio 使用 8895 等)。首选端口范围在 10000 到 25000 之间(而不是早期版本 MediaMonkey 中使用的 49152 – 65535)。要更改和测试新端口号,请在 MMW 中单击工具 > 选项 > 媒体共享 > 双击服务器 > 单击服务器选项卡,然后将端口号更改为 10500,例如,并确保防火墙配置为允许其通过。然后,在您的 Android 设备上,下载并安装https://play.google.com/store/apps/details?id=com.overlook.android.fing ,扫描您的无线网络,打开运行 MMW 的 PC 的 IP 并验证端口 10500 是否显示在结果中。
    3. 如果您有多个 MMW 服务器共享一个数据库,那么它们可能都使用一个通用的 UUID 提供服务,导致只有一个服务器被识别。要解决此问题,请通过选项 -> 媒体共享 -> [添加] 创建一个新媒体服务器实例,然后禁用旧实例。
    4. 检查您的网络连接是私人的还是公共的,因为公共网络连接中的计算机被禁止共享任何资源。您可以通过右键单击网络连接托盘图标并选择“打开网络和共享中心”来检查,这将打开显示网络连接和类型的对话框。如果您在公共网络上注册,则需要更改网络类型并允许其他设备在网络内发现您的 PC。
    5. 禁用网络适配器配置的巨型帧,因为并非所有路由器和网络交换机都支持巨型帧,或者尚未正确配置为支持巨型帧。
      请按照下列步骤操作:
      Win 10:右键单击网络连接托盘图标并选择“打开网络和 Internet 设置”->以太网->更改适配器选项->[双击打开设备设置]->属性->配置->高级->巨型帧->禁用->确定->确定
      Win 7:右键单击网络连接托盘图标并选择“打开网络和共享中心”->更改适配器选项->[双击打开设备设置]->属性->配置->高级->巨型帧->禁用->确定->确定

      注意:如果您将 MMW 中媒体服务器的端口号更改为 4000,则 MMW 自己的 DLNA/UPnP 客户端将不会从 MMW 本身中出现的 UPnP 服务器列表中隐藏 MMW 服务器。这对于调试目的也很有用。
  7. 如果 Android 版 MediaMonkey 仍然无法连接,请尝试手动保存服务器位置,以便可用性公告失败不会阻止 MMA 访问它:
    1. 在 MMA > UPnP 中,点击‘+’按钮添加媒体服务器(对于同步服务器,您也可以转到 MMA > 选项 > 选择同步服务器,长按 MMW 服务器)并填写模板: http://host:port/path_to_device_description_file.xml
      • host:port – 这是 MediaMonkey 服务器的 IP 地址和相关端口号。可以在“工具”>“选项”>“库”>“媒体共享”中找到它,格式为 xxx.xxx.xxx.xxx:yyyyy
      • path_to_device_description_file.xml:这通常是 MediaMonkey 服务器的 DeviceDescription.xml。
    2. 保存服务器设置。
  8. 对于无法手动添加服务器(且自动发现仍然失败)的客户端,您可以尝试在客户端上查看服务器列表的同时重新启动 MediaMonkey。这可能有助于最终在列表中看到 MediaMonkey 服务器。
  9. 在某些 Windows 10 安装中(Windows 更新后),您将需要重置 Windows 网络设置并重新启动电脑。
  10. 如果以上所有方法都无法解决问题,请在您的设备/PC 上打开浏览器并输入“http://<MMWSERVERIP>:<MMWSERVERPORT>/DeviceDescription.xml”,例如http://192.168.1.100:57302/DeviceDescription.xml 。通过帮助台打开一张票据,指出浏览器中返回的数据,并提供 MMW(和 MMA)的日志。
  11. 作为最后的手段,重新启动运行 MediaMonkey、客户端和路由器的电脑。


有关的:
在线帮助: http://www.mediamonkey.com/wiki/index.php/WebHelp: Setting_UPnP/DLNA_Media_Servers/5.0

适用于:

Translated automatically (see original)

MediaMonkey DLNA / UPnP Server Inaccessible / Casting Fails

DLNA/UPnP clients or Wi-Fi Sync clients such as MediaMonkey for Android (MMA) may fail to access content shared by the MediaMonkey for Windows (MMW) DLNA server due to a variety of networking, security/access control issues, or configuration issues that prevent the server from announcing it’s availability and/or sharing content. When you Cast/Stream from MediaMonkey to a Chromecast/DLNA client MediaMonkey also requires access from your Firewall. When no Media Server is enabled in MediaMonkey casting will use a temporary server with a random port to be able to cast media. If your DLNA client can’t access content on the server or MediaMonkey can’t cast, please try each of the following:

  1. Verify that the server is running and configured correctly:
    1. In MMW, click Tools > Options > Media Sharing, and verify that a server is enabled and running. If it isn’t, enable it.
    2. Double click the server (it’ll be named something like ‘MediaMonkey Library’), and make sure that the IP address/MAC address of the client is checked off in the ‘Enabled’ column. If it isn’t listed, then try connecting with MMA to the MMW UPnP/DLNA server, and MMW will prompt you to enable access to the client (alternatively, you can enable ‘Share automatically with all new devices’ though this may not be desireable if you want to limit access to the library).
  2. Make sure that Windows is has the network connection set to Private instead of Public (Settings > Network & Internet > Double-click the active network > Set Network profile to ‘Private Network’). By default Windows will block applications from accessing the local network when the network connection is set to Public.
  3. Ensure that firewalls aren’t blocking the connection.
    1. If the problem started after installing a Windows Update, the issue may be that firewall settings were reset. Try updating to the latest version of MMW–it will reinstalling the firewall rules, possibly solving the problem.
    2. Make sure that the Windows Firewall is configured to allow incoming connections to MMW. Go to
      1. Control Panel > System and Security > Windows Firewall > Allowed apps, and enable Private (or Public if you’re accessing it externally) connections into MediaMonkey.
      2. Windows Firewall > Advanced Settings > Inbound rules, and
        • Ensure that there’s a rule allowing incoming UPnP connections over the TCP Port configured in MMW (you can see this at Tools > Options > Media Sharing > Double-click the server > Click the Server tab ).
        • Ensure that there’s a rule allowing incoming SSDP connections over UDP Port 1900.
        • Restart the machine to ensure that the updated rules are in effect.
    3. Or, try to disable firewall temporarily to see whether it solves the problems (you may want to disconnect your Router from the Internet while the Firewall is disabled).
  4. Make sure other applications aren’t blocking MediaMonkey’s Media Server
    1. BubbleUPnP on Windows can interfere with MediaMonkey’s ability to provide a Media Server to DLNA clients or to Cast to other DLNA/Chromecast clients.
  5. Eliminate basic networking-related issues:
    1. Make sure sure that that the client is connected to the correct Wi-Fi network (if connected via Wi-Fi). Guest Wi-Fi networks generally block devices from seeing other devices on the same network.
    2. Verify that your Router supports Multicast packets and UPnP routing and discovery (most do out of the box)
    3. Ensure that ‘Network discovery’ is enabled on your Windows PC.
    4. Reset your router in case it is frozen (this is just precautionary–no need to reconfigure anything)
    5. On the remote device (e.g. the one running MMA or another UPnP client), Disable/re-enable the Wi-Fi connection.
    6. Restart MediaMonkey for Windows in case the server process stopped or Windows’ firewall blocked the UPnP/DLNA server on idle.
  6. Verify that other more advanced networking issues aren’t causing the problem:
    1. If your server has > 1 network adapter, make sure that the server is configured with the value corresponding to the subnet mask of the desired network interface. In MMW, go to Tools > Options > Media Sharing > Double-click the server > Click the Server tab, and change the IP address from Automatic to the desired setting.
    2. Make sure that the TCP Port# being used doesn’t conflict with any other applications (e.g. Windows Media Player uses port 2869, serviio uses 8895, etc.). The preferred port range is between 10000 and 25000 (rather than 49152 – 65535 which was used in earlier versions of MediaMonkey). To change and test a new port number, in MMW, click Tools > Options > Media Sharing > Double-click the server > Click the Server tab, and change the Port# to 10500, for example, and make sure that the firewall is configured to allow it through. Then, on your Android device, download and install https://play.google.com/store/apps/details?id=com.overlook.android.fing , scan your wireless network, and open the IP of the PC running MMW and verify that port 10500 shows up in the results.
    3. If you have multiple MMW servers sharing a single database, then it’s possible that they are all serving using a common UUID, resulting in only one of the servers being recognized.  To solve this, create a new Media Server instance via Options -> Media Sharing -> [Add] , and then disable the old one.
    4. Check if your Network connection is Private or Public as Computers in Public Network connections are blocked from sharing any resources. You can check that by Right clicking on Network connection tray icon and select “Open Network and Sharing Center” which will open dialog showing network connection and type. If you are registered on Public network you need to change network type and allow other devices to discover your PC within network.
    5. Disable Jumbo frames for your network adapter configuration as not all routers and network switches support or have not configured correctly to support Jumbo frames.
      To do that follow these steps:
      Win 10: Right click on Network connection tray icon and select “Open Network and internet settings” -> Ethernet -> Change adapter options -> [DOUBLE CLICK TO OPEN YOUR DEVICE SETTINGS] -> Properties -> Configure -> Advanced -> Jumbo Frames -> Disable -> Ok -> Ok
      Win 7: Right clicking on Network connection tray icon and select “Open Network and Sharing Center” -> Change adapter options -> [DOUBLE CLICK TO OPEN YOUR DEVICE SETTINGS] -> Properties -> Configure -> Advanced -> Jumbo Frames -> Disable -> Ok -> Ok

      Note: If you change the Port# in for the media server in MMW to 4000, then MMW’s own DLNA/UPnP client will not suppress the MMW server from the list of UPnP servers that appear in MMW itself. This can be useful for debugging purposes, as well.
  7. If MediaMonkey for Android still fails to connect, try saving the server location manually so that failed availability announcements don’t prevent MMA from accessing it:
    1. In MMA > UPnP, click the ‘+’ button to add a media server (for a Sync server, you can also go to MMA > Options > Select Sync Server, long tap on the MMW server) and fill in the template: http://host:port/path_to_device_description_file.xml
      • host:port – This is the IP address and associated Port number of the MediaMonkey Server. It can be found in Tools > Options > Library > Media Sharing and appears in the format xxx.xxx.xxx.xxx:yyyyy
      • path_to_device_description_file.xml: this is normally DeviceDescription.xml for a MediaMonkey Server.
    2. Save the server settings.
  8. For the clients where you cannot add the server manually (and auto-discovery still fails) you can try restart MediaMonkey while watching the server list on the client. This may help to see the MediaMonkey server in the list finally.
  9. On some Windows 10 installations (after Windows Update) you will need to reset your Windows Network settings and restart your PC.
  10. If all of the above fails to resolve the problem, open a browser on your Device/PC and enter “http://<MMWSERVERIP>:<MMWSERVERPORT>/DeviceDescription.xml” e.g. http://192.168.1.100:57302/DeviceDescription.xml . Open a ticket via the helpdesk indicating what data this returns in your browser, and provide logs for MMW (and MMA).
  11. As last resort restart the PC running MediaMonkey, the client and your Router.


Related:
Online help: http://www.mediamonkey.com/wiki/index.php/WebHelp:Setting_UPnP/DLNA_Media_Servers/5.0

Applies to: , ,

Hide original

这篇文章有帮助吗?