Browse Source

Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
BaronGreenback 4 năm trước cách đây
mục cha
commit
2182640519
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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/>