transfer.sh icon indicating copy to clipboard operation
transfer.sh copied to clipboard

Overriding port

Open ramonsmits opened this issue 10 months ago • 2 comments

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"]

ramonsmits avatar Feb 17 '25 20:02 ramonsmits

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 avatar Feb 17 '25 20:02 paolafrancesca

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 avatar Feb 17 '25 21:02 ramonsmits