dutchcoders / dutchcoders/transfer.sh

Overriding port

Open
#642 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.9k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.