Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
BaronGreenback 2021-04-30 09:08:56 +01:00 committed by GitHub
parent 851f610e11
commit 2182640519
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/>