• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Port already in use

     
    • 0 Vote(s) - 0 Average

    Port already in use

    Port 8096 is already in use, apparently from microsoft/windows
    T_Jamess
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Jun
    Reputation: 0
    #1
    2025-06-15, 12:14 PM
    Like the description says, after installing jellyfin on fedora using the command on the website, running the jellyfin command shows me gives me a bunch of errors saying that 0.0.0.0:8096 is already in use. I previously dual booted with this laptop and had a windows install with jellyfin on a different ssd but I'm not sure how that's affecting it now that that ssd isn't even installed. The errors:

    [22:04:19] [INF] [1] Main: Jellyfin version: 10.10.7
    [22:04:19] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /home/tariq/.local/share/jellyfin/log]"]
    [22:04:19] [INF] [1] Main: Arguments: ["/usr/lib64/jellyfin/jellyfin.dll"]
    [22:04:19] [INF] [1] Main: Operating system: Fedora Linux 41 (KDE Plasma)
    [22:04:19] [INF] [1] Main: Architecture: X64
    [22:04:19] [INF] [1] Main: 64-Bit Process: True
    [22:04:19] [INF] [1] Main: User Interactive: True
    [22:04:19] [INF] [1] Main: Processor count: 8
    [22:04:19] [INF] [1] Main: Program data path: /home/tariq/.local/share/jellyfin
    [22:04:19] [INF] [1] Main: Log directory path: /home/tariq/.local/share/jellyfin/log
    [22:04:19] [INF] [1] Main: Config directory path: /home/tariq/.config/jellyfin
    [22:04:19] [INF] [1] Main: Cache path: /home/tariq/.cache/jellyfin
    [22:04:19] [INF] [1] Main: Temp directory path: /tmp/jellyfin
    [22:04:19] [INF] [1] Main: Web resources path: /usr/lib64/jellyfin/jellyfin-web
    [22:04:19] [INF] [1] Main: Application directory: /usr/lib64/jellyfin/
    [22:04:19] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "M
    igrateMusicBrainzTimeout", "MigrateNetworkConfiguration", "MigrateEncodingOptions"]
    [22:04:19] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /home/tariq/.cache/jellyfin
    [22:04:19] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
    [22:04:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [22:04:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
    [22:04:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [22:04:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "192.168.0.152"]
    [22:04:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
    [22:04:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
    [22:04:19] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
    [22:04:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.10.7.0
    [22:04:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.10.7.0
    [22:04:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.10.7.0
    [22:04:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.10.7.0
    [22:04:20] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.10.7.0
    [22:04:20] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling",
    "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInA
    dvance", "MigrateAuthenticationDatabase", "FixPlaylistOwner", "MigrateRatingLevels", "FixAudioData", "RemoveDuplicatePlaylistChildren"]
    [22:04:20] [INF] [1] Main: Kestrel is listening on 0.0.0.0
    [22:04:20] [ERR] [1] Jellyfin.Networking.AutoDiscoveryHost: Unable to bind to 0.0.0.0:7359
    System.Net.Sockets.SocketException (9Nerd-face: Address already in use
      at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
      at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
      at System.Net.Sockets.Socket.Bind(EndPoint localEP)
      at Jellyfin.Networking.AutoDiscoveryHost.ListenForAutoDiscoveryMessage(IPAddress listenAddress, CancellationToken cancellationToken)
    [22:04:21] [WRN] [1] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: /home/tariq/wwwroot. Static files may be unavailable.
    [22:04:21] [ERR] [1] Microsoft.Extensions.Hosting.Internal.Host: Hosting failed to start
    System.IO.IOException: Failed to bind to address http://0.0.0.0:8096: address already in use.
    ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
    ---> System.Net.Sockets.SocketException (9Nerd-face: Address already in use
      at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
      at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
      at System.Net.Sockets.Socket.Bind(EndPoint localEP)
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
      --- End of inner exception stack trace ---
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig
    endpointConfig, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_01.<<StartAsync>g__OnBind|0>d.MoveNext()
    --- End of stack trace from previous location ---
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationT
    oken)
      --- End of inner exception stack trace ---
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationT
    oken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func
    2 useHttps, CancellationTok

    en cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication1 application, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
      at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
      at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable
    1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List
    1 exceptions, Func3 operation)
    [22:04:21] [ERR] [1] Main: Kestrel failed to start! This is most likely due to an invalid address or port bind - correct your bind configuration in network.xml and try aga
    in
    [22:04:21] [FTL] [1] Main: Error while starting server
    System.IO.IOException: Failed to bind to address http://0.0.0.0:8096: address already in use.
    ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
    ---> System.Net.Sockets.SocketException (9Nerd-face: Address already in use
      at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
      at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
      at System.Net.Sockets.Socket.Bind(EndPoint localEP)
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
      --- End of inner exception stack trace ---
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
      at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig
    endpointConfig, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_01.<<StartAsync>g__OnBind|0>d.MoveNext()
    --- End of stack trace from previous location ---
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationT
    oken)
      --- End of inner exception stack trace ---
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationT
    oken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func
    2 useHttps, CancellationTok
    en cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication1 application, CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
      at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
      at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable
    1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List
    1 exceptions, Func3 operation)
      at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
      at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    [22:04:21] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
    [22:04:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    [22:04:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzArtistProvider
    [22:04:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
    [22:04:21] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,149
    Threads: 0
    Joined: 2024 Jun
    Reputation: 60
    #2
    2025-06-15, 02:49 PM
    Jellyfin normally runs as a service. So you do not need to type in Jellyfin in the terminal, that's starting it twice, hence the error message. All you should need to do now, is run the startup wizard: http://localhost:8096
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode