Procházet zdrojové kódy

Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
BaronGreenback před 4 roky
rodič
revize
2182640519
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Emby.Server.Implementations/ApplicationHost.cs

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -1205,7 +1205,7 @@ namespace Emby.Server.Implementations
         {
             // Passing an external address cause GetBindInterface to return the externally facing interface on a multi-adapter system.
             // LocalNetworkSubnets and LocalNetworkAddresses are used in conjunction with the ip address to help select the best interface.
-            return GetLocalApiUrl(NetManager.GetBindInterface("8.8.8.8", out var _), Uri.UriSchemeHttp, HttpPort);
+            return GetLocalApiUrl(NetManager.GetBindInterface("0.0.0.0", out var _), Uri.UriSchemeHttp, HttpPort);
         }
 
         /// <inheritdoc/>