• 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 Networking & Access HTTPS on Port 443 fails (Ubuntu)

     
    • 0 Vote(s) - 0 Average

    HTTPS on Port 443 fails (Ubuntu)

    bitstream
    Offline

    Junior Member

    Posts: 25
    Threads: 6
    Joined: 2025 Apr
    Reputation: 0
    #1
    2025-04-09, 08:02 PM (This post was last modified: 2025-04-09, 09:58 PM by bitstream. Edited 2 times in total.)
    Hola

    i got Jellyfin running on Ubuntu in a VM. Naked Ubuntu, no other services installed.

    HTTP on port 8096 is working fine.
    HTTPS on port 8920 is working fine with my letsencrypt cert.

    However, when changing HTTPS to port 443, JF fails to start.
    netstat shows 443 is not used, so there should be no problem for JF to bind to that port.

    From what i understand during startup Kestrel obv. doesn't has the permission to bind to that socket. However, running a little php script opening a listener socket on 443 under user jellyfin works. Any idea why this is not working with JF?


    System.Net.Sockets.SocketException (13): Permission denied
      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()
      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 cancellationToken)
      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, CancellationToken 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, List1 exceptions, Func3 operation)
      at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
    « Next Oldest | Next Newest »

    Users browsing this thread: 3 Guest(s)


    Messages In This Thread
    HTTPS on Port 443 fails (Ubuntu) - by bitstream - 2025-04-09, 08:02 PM
    RE: HTTPS on Port 443 fails - by bitstream - 2025-04-09, 08:25 PM
    RE: HTTPS on Port 443 fails - by thenickdude - 2025-05-21, 02:15 PM
    RE: HTTPS on Port 443 fails (Ubuntu) - by bitstream - 2025-04-09, 10:08 PM
    RE: HTTPS on Port 443 fails (Ubuntu) - by TheDreadPirate - 2025-04-10, 12:53 PM
    RE: HTTPS on Port 443 fails (Ubuntu) - by bitstream - 2025-04-10, 04:03 PM
    RE: HTTPS on Port 443 fails (Ubuntu) - by TheDreadPirate - 2025-04-10, 05:25 PM
    RE: HTTPS on Port 443 fails (Ubuntu) - by bitstream - 2025-04-11, 01:19 PM
    RE: HTTPS on Port 443 fails (Ubuntu) - by TheDreadPirate - 2025-04-11, 04:17 PM

    • 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