wahyd4 / aria2-ariang-x-docker-compose

Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
1.78k stars 282 forks source link

bind address already in use. #97

Closed ramocky closed 3 years ago

ramocky commented 3 years ago

run docker run -d --name aria2-ui -p 80:80 -v ~/data:/data wahyd4/aria2-ui errorReport docker: Error response from daemon: driver failed programming external connectivity on endpoint aria2-u2i (1b56d8d5ae6eedac420ea54b3b7fe71b992d3d17aee2f3771b9b82d90248a3aa): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.

change port to other Number then go to page is 404 page

how to fix? pleas help me

ramocky commented 3 years ago

version: "3"

services: filebrowser: image: wahyd4/aria2-ui:latest ports:

wahyd4 commented 3 years ago

For this one, you should change the port on the left hand side of : to some other port not right side.

On Wed, 18 Nov 2020, 17:03 ramocky, notifications@github.com wrote:

run docker run -d --name aria2-ui -p 80:80 -v ~/data:/data wahyd4/aria2-ui errorReport docker: Error response from daemon: driver failed programming external connectivity on endpoint aria2-u2i (1b56d8d5ae6eedac420ea54b3b7fe71b992d3d17aee2f3771b9b82d90248a3aa): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.

change port to other Number then go to page is 404 page

how to fix? pleas help me

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/97, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMHYCPUQY7UCUWBQFCKZLSQNPRXANCNFSM4TZQQSZA .

wahyd4 commented 3 years ago

What error do you get for this docker compose?

On Wed, 18 Nov 2020, 17:10 ramocky, notifications@github.com wrote:

version: "3"

services: filebrowser: image: wahyd4/aria2-ui:latest ports:

  • "83:80"
  • "1996:443" volumes:
  • ./data:/data

    - /some_folder:/root/conf/key

    - ~/test/aria2.conf:/root/conf/aria2.conf

    environment:

  • PUID=1000
  • PGID=1000

    - DOMAIN=https://subdomain.example.com

    - SSL=true

    - RPC_SECRET=Hello

    - ARIA2_USER=admin

    - ARIA2_PWD=password

    - ENABLE_AUTH=true

    restart: unless-stopped plex: image: spritsail/plex-media-server volumes:

  • ./data:/media:rw # The media folder
  • ./transcode:/transcode # Transcoder temporary directory
  • ./config:/config # Configurations environment:
  • LOG_DEBUG=0
  • LOG_VERBOSE=0
  • PLEX_CLAIM=claim-7KUpCHxW6yozR56UA1YL # Replace this TOKEN!!! restart: unless-stopped hostname: "junv-plex-server" # change the name to whatever you like ports:
  • "32400:32400" # The web port
  • "3005:3005" # The following ports are optional
  • "8324:8324"
  • "32469:32469"
  • "1900:1900"
  • "32410:32410"
  • "32412:32412"
  • "32413:32413"
  • "32414:32414"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/97#issuecomment-729453911, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMHYDFZGYTGUBZPZ7OSXTSQNQL5ANCNFSM4TZQQSZA .

ramocky commented 3 years ago

What error do you get for this docker compose? On Wed, 18 Nov 2020, 17:10 ramocky, @.***> wrote: version: "3" services: filebrowser: image: wahyd4/aria2-ui:latest ports: - "83:80" - "1996:443" volumes: - ./data:/data # - /some_folder:/root/conf/key # - ~/test/aria2.conf:/root/conf/aria2.conf environment: - PUID=1000 - PGID=1000 # - DOMAIN=https://subdomain.example.com # - SSL=true # - RPC_SECRET=Hello # - ARIA2_USER=admin # - ARIA2_PWD=password # - ENABLE_AUTH=true restart: unless-stopped plex: image: spritsail/plex-media-server volumes: - ./data:/media:rw # The media folder - ./transcode:/transcode # Transcoder temporary directory - ./config:/config # Configurations environment: - LOG_DEBUG=0 - LOG_VERBOSE=0 - PLEX_CLAIM=claim-7KUpCHxW6yozR56UA1YL # Replace this TOKEN!!! restart: unless-stopped hostname: "junv-plex-server" # change the name to whatever you like ports: - "32400:32400" # The web port - "3005:3005" # The following ports are optional - "8324:8324" - "32469:32469" - "1900:1900" - "32410:32410" - "32412:32412" - "32413:32413" - "32414:32414" — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#97 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMHYDFZGYTGUBZPZ7OSXTSQNQL5ANCNFSM4TZQQSZA .

root@growing-beams-2:~# docker run -d --name aria2-ui -p 80:80 -v ~/data:/data wahyd4/aria2-ui Unable to find image 'wahyd4/aria2-ui:latest' locally latest: Pulling from wahyd4/aria2-ui 188c0c94c7c5: Pull complete 065b469b25e0: Pull complete cf91a5452ed6: Pull complete eec96ebe3e09: Pull complete b229c8269425: Pull complete 8771ee81302d: Pull complete Digest: sha256:63c652f19be381c561be83b15f473eb5470982ab773ec43adb4b4de40dd0d663 Status: Downloaded newer image for wahyd4/aria2-ui:latest 90ac5666bb21a96f2ea537a90a4440ab7971b97a0e0d88c0465bafa8a567fb2c docker: Error response from daemon: driver failed programming external connectivity on endpoint aria2-ui (d826e30c452711007754e3908e8fdc29411ee2d4bfe8afbe2a007cee3ff01d53): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.

new yml: version: "3"

services: filebrowser: image: wahyd4/aria2-ui:latest ports:

ramocky commented 3 years ago

我想下载然后可以在plex 管理 预览一些avi 一条龙搭建 起来 我有些疑问

  1. 是只要一个镜像就可以是吗? 还是全部都要部署? 2.我80端口和443端口已经搭了机场 启用了ssl 是用ip访问吗还是域名直接访问 3.每次都是提示我端口占用 按照您说的我修改端口后依然提示,如果docker run 的时候不是80:80的话我将无法访问

抱歉我是个初学者感谢您的耐心

ramocky commented 3 years ago

只能看到32400的plex 其他的都是空白页 我很困惑

wahyd4 commented 3 years ago

If you have other services used 80 and 443 then you can't use 80 and 443 as external ports any more, you can't use SSL neither.

In order have Plex plus aria2, you need to the entire compose.

I recommend you can use 8000 or 8080 to replace 80 and disable 443 port.

On Wed, 18 Nov 2020, 17:59 ramocky, notifications@github.com wrote:

只能看到32400的plex 其他的都是空白页 我很困惑

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wahyd4/aria2-ariang-x-docker-compose/issues/97#issuecomment-729477356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMHYFUZVRK5VCYST7MVALSQNWF5ANCNFSM4TZQQSZA .

ramocky commented 3 years ago

如果您有使用80和443的其他服务,则不能再使用80和443作为外部端口,也不能使用SSL。为了拥有Plex plus aria2,您需要整个撰写。我建议您可以使用8000或8080替换80并禁用443端口。 On Wed, 18 Nov 2020, 17:59 ramocky, @.***> wrote: 只能看到32400的plex 其他的都是空白页 我很困惑 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#97 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMHYFUZVRK5VCYST7MVALSQNWF5ANCNFSM4TZQQSZA .

感谢您的回答