浏览代码

Update DlnaEntryPoint.cs

BaronGreenback 4 年之前
父节点
当前提交
192efff791
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Emby.Dlna/Main/DlnaEntryPoint.cs

+ 1 - 1
Emby.Dlna/Main/DlnaEntryPoint.cs

@@ -315,7 +315,7 @@ namespace Emby.Dlna.Main
                 var uri = new UriBuilder(_appHost.GetSmartApiUrl(address.Address) + descriptorUri);
                 // DLNA will only work over http, so we must reset to http:// : {port}
                 uri.Scheme = "http://";
-                uri.Port = _netConfig.PublicPort;
+                uri.Port = _netConfig.HttpServerPortNumber;
 
                 var device = new SsdpRootDevice
                 {