aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-04-26 19:56:15 +0100
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2021-04-26 19:56:15 +0100
commit78e97dbaa99a9acc8b0abc04a72480976aef3c24 (patch)
tree077ce92ff9401c074bb8c0c8dfe3c4a2d54d9544 /Emby.Server.Implementations/ApplicationHost.cs
parentf30bbef781089d79833eab04746586b0b287bd3a (diff)
updated comment
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 7b4592fbc..e7ca70d04 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -1203,7 +1203,8 @@ namespace Emby.Server.Implementations
/// <inheritdoc/>
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);
}