Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unraid docker里安装qbittorrent,无论怎么更改端口,还是显示6881,怎么办?

Featured Replies

我在配置里已经把端口改了,但是docker还是显示6881,虽说不影响使用,但是强迫症太难受了,有办法解决吗?

iShot2021-03-09 23.00.11.png

iShot2021-03-09 23.00.22.png

编辑里打开高级视图

When its on it's own specific IP address (br0), all port mappings are ignored by docker itself

  • Author
3 hours ago, Squid said:

When its on it's own specific IP address (br0), all port mappings are ignored by docker itself

那为什么transmission就是显示正常的,而qbittorrent就显示不正常?

 

iShot2021-03-10 13.32.55.png

  • Author

已找到问题所在,谢谢大家回复。

On 3/10/2021 at 2:04 PM, jackge0323 said:

已找到问题所在,谢谢大家回复。

方便透露下具体的原因么?感谢

我也有同样的问题,特别是个别容器已经设置了host网络,却还显示有端口映射(虽然实际上没有)

Edited by zuchuantiemo

  • Author
7 hours ago, zuchuantiemo said:

方便透露下具体的原因么?感谢

我也有同样的问题,特别是个别容器已经设置了host网络,却还显示有端口映射(虽然实际上没有)

是因为镜像作者生成镜像的时候用了EXPOSE命令导致的,如果看不习惯的话,可以在原有镜像上自己做一个镜像,即可解决这个问题。

  • 3 years later...

记录一下:官方解释解决文档,按这样修改可行:

WEBUI_PORT variable

Due to issues with CSRF and port mapping, should you require to alter the port for the web UI you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.

 

For example, to set the port to 8090 you need to set -p 8090:8090 and -e WEBUI_PORT=8090

 

TORRENTING_PORT

A bittorrent client can be an active or a passive node. Running your client as an active node has the advantage of being able to connect to both active and passive peers, and can potentially increase the number of incoming connections. This requires an open port on the host machine which might differ from container's internal one.

 

Similarly to the WEBUI_PORT, to set the port to 6887 you need to pass -p 6887:6887, -p 6887:6887/udp and -e TORRENTING_PORT=6887 arguments to Docker.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.