Trouble with accessing Headphones

  • I'm having trouble connecting to Headphones, which I have only recently installed again, and I think it is down to this commit, which is now covered on the Web Interface section of their wiki


    Zitat

    For security reasons, Headphones will serve on localhost by default. This means you cannot access Headphones from another computer unless you change host to 0.0.0.0.


    I've tried adding the following line into config.py in /opt/headphones/headphones, so it looks like so:


    Code
    'HTTP_HOST': (str, 'General', 'localhost'),
    'HTTP_HOST': (str, 'General', '0.0.0.0'),


    And also removing the locahost option:


    Code
    'HTTP_HOST': (str, 'General', '0.0.0.0'),


    However I still cannot open the page after restarting the Headphones service after each of these changes.


    Is there another process I need to restart, or any other changes that I need to make?

  • You only need to edit your headphones config file /home/headphones/.headphones/config.ini and change http_host = localhost to http_host = 0.0.0.0 do this while HP is NOT running.
    If that config setting is not found add it near the top.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!