From ab5ae345950d2551d40391141e8b7f5be66a725c Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Fri, 8 Jan 2021 21:06:14 +0100 Subject: [PATCH] Merge pull request #4976 from BaronGreenback/dlnaPortFix Fixed DLNA Server on RC2 (cherry picked from commit a55442316381232f86b48351290fb96c03b530c1) Signed-off-by: Joshua M. Boniface --- Emby.Dlna/Main/DlnaEntryPoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emby.Dlna/Main/DlnaEntryPoint.cs b/Emby.Dlna/Main/DlnaEntryPoint.cs index 3f7b558f61..82490ec310 100644 --- a/Emby.Dlna/Main/DlnaEntryPoint.cs +++ b/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 {