linuxserver/docker-qbittorrent

[BUG] ERR_CONNECTION_REFUSED on unraid

LordJABA opened this issue · 11 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The container starts i have a message with a temporary passwords in logs but when i open the ip with port (http://192.168.0.11:8081/ - 8080 is already taken) i from other computer on the same LAN get ERR_CONNECTION_REFUSED

Expected Behavior

Opening the web ui

Steps To Reproduce

Install linuxservers qbittorrent app setting non default port.
Try to open webUI - tried with multiple browsers

Environment

- OS:Unraid 6.12.10
- How docker service was installed: Unraid default + community apps

CPU architecture

x86-64

Docker creation

app settings dump:



qbittorrent
Overview:
The Qbittorrent(https://www.qbittorrent.org/) project aims to provide an open-source software alternative to µTorrent. qBittorrent is based on the Qt toolkit and libtorrent-rasterbar library.


Additional Requirements:
None Listed
Repository:
lscr.io/linuxserver/qbittorrent
Network Type:

Bridge
Console shell command:

Bash
Privileged:
OFF
WebUI:
8081
Container Port: 8080

Port: 6881:
Container Port: 6881
tcp connection port

Port: 6881:
Container Port: 6881
udp connection port

Path: /downloads:
/mnt/user/vault/downloads/

WEBUI_PORT:
8081

TORRENTING_PORT:
6881


### Container logs

```bash
Connection to localhost (127.0.0.1) 8081 port [tcp/tproxy] succeeded!
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    99
User GID:    100
───────────────────────────────────────

[custom-init] No custom files found, skipping...
WebUI will be started shortly after internal preparations. Please wait...

******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8081

The WebUI administrator username is: admin
The WebUI administrator password was not set. A temporary password is provided for this session: gTT7W74Sj
You should set your own password in program preferences.
[ls.io-init] done.

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

For the webui port , you've not got the host port/container port matching the port number you set for WEBUI_PORT.

@j0nnymoe it is set:
WEBUI_PORT:
8081

this it the port mapping from docker tab:
172.17.0.6:6881/TCP>192.168.0.11:6881
172.17.0.6:6881/UDP>192.168.0.11:6881
172.17.0.6:8080/TCP>192.168.0.11:8081

It's not set the same.
Screenshot_20240515-074109

Both the host/container ports need to match your webui port as mentioned here: https://github.com/linuxserver/docker-qbittorrent?tab=readme-ov-file#webui_port-variable

so if the WebUI is set to 8081:
image
the WEBUI_PORT also needs to be set to 8081:
image
Or am I misunderstanding?

PS that's the doc I'm trying to follow

tried changing WEBUI_PORT to 8080 and I get Unauthorized as I expected

It's not set the same. Screenshot_20240515-074109

the marked part (orange text) is an arbitrary description not variable value
image

edit: adding also the variable details
image

Got it. Needed to change container port to also 8081- the issue is thats not allowed to be modified in unraid UI. Needed to remove default port mapping and add new one 8081>8081
image

thanks for pointing this out
maybe someone will find that helpful during first days on unraid