Jump to content

localhost refused to connect


Go to solution Solved by Q-Droid,

Recommended Posts

Posted

Hi, it looks like emby-server is running (`systemctl status emby-server` and `ps aux|grep emby` both show the server running). But when I try to navigate to `localhost:8086` I get the error that the connection for localhost is refused.

 

I am running a freshly installed version of Manjaro-XFCE.

 

Looking in the `embyserver.txt` file in /var/lib/private/emby/logs, I see a few processes that failed out with errors:

 

```

2023-02-08 22:09:56.670 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Execute: /usr/bin/ffdetect-emby -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json 
2023-02-08 22:09:56.760 Info VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Process exited with code 139 - Failed
2023-02-08 22:09:56.812 Error VaapiCodecProvider: Error running ffdetect for vaencdec - ffdetect version 5.0.0-emby_2022_05_07 Copyright (c) 2018-2022 softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
  configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-libdrm --enable-libmfx --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -pthread' --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
  libavutil      57. 19.100 / 57. 19.100
Begin GetVaAdapterInfo
Found 17 device entries
Begin get_nodes
Found 2 drm entries
End GetVaAdapterInfo


2023-02-08 22:09:56.812 Error VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Output:
    
2023-02-08 22:09:56.812 Error VaapiCodecProvider: ProcessRun 'ffdetect_vaencdec' Error Output:
    ffdetect version 5.0.0-emby_2022_05_07 Copyright (c) 2018-2022 softworkz for Emby LLC
      built with gcc 8.3.0 (crosstool-NG 1.24.0)
      configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-libdrm --enable-libmfx --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -pthread' --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
      libavutil      57. 19.100 / 57. 19.100
    Begin GetVaAdapterInfo
    Found 17 device entries
    Begin get_nodes
    Found 2 drm entries
    End GetVaAdapterInfo
    
2023-02-08 22:09:56.817 Info QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Execute: /usr/bin/ffdetect-emby -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 qsvencdec -print_format json 
2023-02-08 22:09:56.907 Info QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Process exited with code 139 - Failed
2023-02-08 22:09:56.957 Error QuickSyncCodecProvider: Error running ffdetect for qsvencdec - ffdetect version 5.0.0-emby_2022_05_07 Copyright (c) 2018-2022 softworkz for Emby LLC
  built with gcc 8.3.0 (crosstool-NG 1.24.0)
  configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-libdrm --enable-libmfx --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -pthread' --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
  libavutil      57. 19.100 / 57. 19.100
Begin GetVaAdapterInfo
Found 17 device entries
Begin get_nodes
Found 2 drm entries
End GetVaAdapterInfo


2023-02-08 22:09:56.957 Error QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Output:
    
2023-02-08 22:09:56.957 Error QuickSyncCodecProvider: ProcessRun 'ffdetect_qsvencdec' Error Output:
    ffdetect version 5.0.0-emby_2022_05_07 Copyright (c) 2018-2022 softworkz for Emby LLC
      built with gcc 8.3.0 (crosstool-NG 1.24.0)
      configuration: --cc=x86_64-emby-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffdetect-x64/staging --pkg-config=pkg-config --disable-debug --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-vdpau --enable-libdrm --enable-libmfx --enable-vaapi --extra-libs='-ldrm -lva -lva-drm -ldl -lm -pthread' --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-cross-compile --cross-prefix=x86_64-emby-linux-gnu- --arch=x86_64 --target-os=linux --disable-shared --enable-static
      libavutil      57. 19.100 / 57. 19.100
    Begin GetVaAdapterInfo
    Found 17 device entries
    Begin get_nodes
    Found 2 drm entries
    End GetVaAdapterInfo
```

 

When I run: `$ /usr/bin/ffdetect-emby -hide_banner -show_program_version -loglevel 48 -show_error -show_log 40 vaencdec -print_format json`, I don't see any errors or failed msgs. 

 

Any ideas or suggestions to get past this issue and up and running? Thks.

Posted

Just to confirm, I have added port 8086 to ufw and I reloaded ufw, I also restarted the computer, as well I disabled ufw to see if it made any difference. But no change.

Posted

Hi there, please attach the complete emby server log file. Thanks.

  • Solution
Posted

Your server is listening on 8096, not 8086.

2023-02-08 22:09:52.434 Info App: Adding HttpListener prefix http://+:8096/
 

 

  • Thanks 1
Posted

DOH! I guess I need to get my eyes checked. Thks for the quick fix.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...