Overriding port #9

Open
opened 2026-01-19 18:28:37 +00:00 by michael · 2 comments
Owner

Originally created by @ramonsmits on GitHub.

I tried to override the port.

According to the docker guidance I should set LISTENER but I still get:

transfersh    | [transfer.sh]2025/02/17 20:20:27 Transfer.sh server started.
transfersh    | using temp folder: /tmp/
transfersh    | using storage provider: local
transfersh    | [transfer.sh]2025/02/17 20:20:27 starting to listen on: :8080
transfersh    | [transfer.sh]2025/02/17 20:20:27 ---------------------------
transfersh    | [transfer.sh]2025/02/17 20:20:27 listen tcp :8080: bind: address already in use

I tried:

LISTENER=8082
LISTENER=:8082

Tried command args which does work:

command: ["--provider", "local", "--listener", ":8082"]
Originally created by @ramonsmits on GitHub. I tried to override the port. According to the docker guidance I should set `LISTENER` but I still get: ``` transfersh | [transfer.sh]2025/02/17 20:20:27 Transfer.sh server started. transfersh | using temp folder: /tmp/ transfersh | using storage provider: local transfersh | [transfer.sh]2025/02/17 20:20:27 starting to listen on: :8080 transfersh | [transfer.sh]2025/02/17 20:20:27 --------------------------- transfersh | [transfer.sh]2025/02/17 20:20:27 listen tcp :8080: bind: address already in use ``` I tried: ```env LISTENER=8082 LISTENER=:8082 ``` Tried command args which does work: ```yml command: ["--provider", "local", "--listener", ":8082"] ```
Author
Owner

@ramonsmits commented on GitHub:

command: ["--provider", "local", "--listener", ":8082"]

could you please confirm that this works, as mentioned in the PR you proposed to update the documentation?

thanks! :)

yes, that works, I'm running my docker with

command: ["--provider", "local", "--listener", ":8082"]
@ramonsmits commented on GitHub: > > command: ["--provider", "local", "--listener", ":8082"] > > could you please confirm that this works, as mentioned in the PR you proposed to update the documentation? > > thanks! :) yes, that works, I'm running my docker with ``` command: ["--provider", "local", "--listener", ":8082"] ```
Author
Owner

@paolafrancesca commented on GitHub:

command: ["--provider", "local", "--listener", ":8082"]

could you please confirm that this works, as mentioned in the PR you proposed to update the documentation?

thanks! :)

@paolafrancesca commented on GitHub: > command: ["--provider", "local", "--listener", ":8082"] could you please confirm that this works, as mentioned in the PR you proposed to update the documentation? thanks! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#9