• 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 SOLVED: Reverse Proxy

     
    • 0 Vote(s) - 0 Average

    SOLVED: Reverse Proxy

    Apache Reverse Proxy only works from the LAN
    teledyn
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Canada
    #1
    2024-08-19, 10:42 PM (This post was last modified: 2024-08-20, 03:56 PM by TheDreadPirate. Edited 3 times in total.)
    I followed the instructions on https://jellyfin.org/docs/general/networking/apache and Jellyfin works fine from the LAN, but using Firefox or the Android app from outside, it says the server is not found, if I connect to the same url from the LAN (where the IP will be dnsmasq'd as local) the app works, but if I then switch off wifi, it times out.

    I have apache and jellyfin on the same machine and have used both the LAN IP and 127.0.0.1 as the SERVER_IP in the apache config, and have added the LAN IP and the public IP to KnownProxies in jellyfin.conf (together and separately). My apache2 site config is identical to the networking/apache, only changes are hostname and SERVER_IP, and my certbot certificates are fine. I also tried port-forwarding 8096 to the jellyfin machine, but still no remote access.

    In the logs I see:

    Code:
    [Mon Aug 19 18:19:17.753566 2024] [proxy:error] [pid 618922:tid 618953] (111)Connection refused: AH00957: http: attempt to connect to 192.168.0.13:8096 (192.168.0.13:8096) failed
    [Mon Aug 19 18:19:17.753816 2024] [proxy_http:error] [pid 618922:tid 618953] [remote 72.143.201.81:58788] AH01114: HTTP: failed to make connection to backend: 192.168.0.13

    with this using the example conf:
    Code:
    ProxyPass "/socket" "ws://192.168.0.13:8096/socket"
       ProxyPassReverse "/socket" "ws://192.168.0.13:8096/socket"

       ProxyPass "/" "http://192.168.0.13:8096/"
       ProxyPassReverse "/" "http://192.168.0.13:8096/"

    which works fine on the LAN.

    Is there some other essential step?
    Go to solution
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Reverse Proxy - by teledyn - 2024-08-19, 10:42 PM
    RE: Reverse Proxy - by goerdi - 2024-08-20, 11:13 AM
    RE: Reverse Proxy - by TheDreadPirate - 2024-08-20, 03:57 PM
    RE: Reverse Proxy - by teledyn - 2024-08-20, 06:29 PM
    RE: Reverse Proxy - by teledyn - 2024-08-20, 06:51 PM
    RE: Reverse Proxy - by goerdi - 2024-08-20, 06:51 PM
    RE: Reverse Proxy - by TheDreadPirate - 2024-08-20, 06:56 PM
    RE: Reverse Proxy - by teledyn - 2024-08-20, 06:59 PM
    RE: Reverse Proxy - by TheDreadPirate - 2024-08-20, 08:20 PM
    RE: Reverse Proxy - by teledyn - 2024-08-20, 09:09 PM
    RE: Reverse Proxy - by TheDreadPirate - 2024-08-20, 09:55 PM
    RE: Reverse Proxy - by teledyn - 2024-08-27, 05:44 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