Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/594294871438bd83fee3198c647b2ff30defa8e1?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
16 additions and
5 deletions
@ -285,14 +285,25 @@ namespace Jellyfin.Networking.Manager
// No bind address and no exclusions, so listen on all interfaces.
// No bind address and no exclusions, so listen on all interfaces.
Collection < IPObject > result = new Collection < IPObject > ( ) ;
Collection < IPObject > result = new Collection < IPObject > ( ) ;
if ( IsIP4Enabled )
if ( IsIP6Enabled & & IsIP4Enabled )
{
// Kestrel source code shows it uses Sockets.DualMode - so this also covers IPAddress.Any
result . AddItem ( IPAddress . IPv6Any ) ;
}
else if ( IsIP4Enabled )
{
{
result . AddItem ( IPAddress . Any ) ;
result . AddItem ( IPAddress . Any ) ;
}
}
else if ( IsIP6Enabled )
if ( IsIP6Enabled )
{
{
result . AddItem ( IPAddress . IPv6Any ) ;
// Cannot use IPv6Any as Kestrel will bind to IPv4 addresses.
foreach ( var iface in _interfaceAddresses )
{
if ( iface . AddressFamily = = AddressFamily . InterNetworkV6 )
{
result . AddItem ( iface . Address ) ;
}
}
}
}
return result ;
return result ;
@ -280,7 +280,7 @@ namespace Jellyfin.Server
bool flagged = false ;
bool flagged = false ;
foreach ( IPObject netAdd in addresses )
foreach ( IPObject netAdd in addresses )
{
{
_logger . LogInformation ( "Kestrel listening on {0}" , netAdd );
_logger . LogInformation ( "Kestrel listening on {0}" , netAdd .Address = = IPAddress . IPv6Any ? "All Addresses" : netAdd );
options . Listen ( netAdd . Address , appHost . HttpPort ) ;
options . Listen ( netAdd . Address , appHost . HttpPort ) ;
if ( appHost . ListenWithHttps )
if ( appHost . ListenWithHttps )
{
{