mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-22 21:50:36 +02:00
updated comment
This commit is contained in:
parent
f30bbef781
commit
78e97dbaa9
|
@ -1203,7 +1203,8 @@ namespace Emby.Server.Implementations
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public string GetLoopbackHttpApiUrl()
|
public string GetLoopbackHttpApiUrl()
|
||||||
{
|
{
|
||||||
// Passing an external address cause GetBindInterface to return an externally accessible interface (if possible).
|
// 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("8.8.8.8", out var _), Uri.UriSchemeHttp, HttpPort);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue