Troubleshooting
Common Password Pusher Pro Self-Hosted Docker Compose and Podman boot issues—port binds, host remaps, and large file uploads.
On this page
Common boot and networking issues when running Self-Hosted Pro. This page will grow over time. For the full port map and override variables, see Container Ports. For day-to-day Compose commands, see Operations.
listen tcp :80: bind: permission denied
You may see a log line like:
Failed to start HTTP listener","error":"listen tcp :80: bind: permission denied"
What is going wrong
Compose port mappings such as "8095:80" only change how the host exposes the container. Inside the container, the built-in HTTP proxy still tries to bind :80.
The Pro image runs as a non-root user (pwpush). Ports below 1024 are privileged:
| Runtime | Typical behavior |
|---|---|
| Rootful Docker | Usually allows non-root processes to bind 80/443 |
| Podman (especially rootless) | Often denies bind on :80 — this error is common |
Host ports already taken by other containers is a separate problem. Mapping "8095:80" already avoids that on the host. The permission error is about the in-container bind.
Recommended fix
Listen on an unprivileged port inside the container, publish that to your host port, and override the healthcheck (the image default probes http://localhost:80/up).
services:
pwpush-pro:
image: registry.apnotic.com/pwpush-pro:latest
env_file:
- .env
environment:
HTTP_PORT: "8080"
volumes:
- pwpush-pro-data:/opt/PasswordPusher/storage
ports:
- "8095:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/up"]
interval: 30s
timeout: 3s
restart: unless-stopped
volumes:
pwpush-pro-data:
driver: local
Match the host side of ports to whatever you need (for example "80:8080" if host 80 is free). The important part is that the right-hand (container) port matches HTTP_PORT and the healthcheck.
Recreate after changing env or ports:
docker compose up -d --force-recreate
# or the podman-compose equivalent
Alternative: keep container port 80
If you prefer the default internal port 80 (and your runtime allows it):
ports:
- "8095:80"
sysctls:
- net.ipv4.ip_unprivileged_port_start=0
or:
cap_add:
- NET_BIND_SERVICE
On some rootless Podman hosts, sysctls and capabilities are restricted. In that case use HTTP_PORT=8080 as above.
Quick checks
| Check | Expectation |
|---|---|
| Log message | listen tcp :80 is inside the container; host remap does not change it |
HTTP_PORT |
Set to an unprivileged port (e.g. 8080) when bind on 80 is denied |
Compose ports |
Right-hand port matches HTTP_PORT (e.g. "8095:8080") |
| Healthcheck | If you set HTTP_PORT, override Compose healthcheck to match |
File uploads fail around 100MB or larger
Symptoms: the web form upload hangs or errors; container logs show Unable to proxy request with context canceled; nginx or Ingress returns 413.
On Pro, file pushes from the web form go through your reverse proxy and the built-in HTTP proxy, including when storage is S3, GCS, or Azure.
- On older Pro images, set
HTTP_READ_TIMEOUT=900andHTTP_WRITE_TIMEOUT=900(upcoming images default to 900). LeaveHTTP_IDLE_TIMEOUTat60. - Raise the proxy or Ingress body-size and timeout limits (ingress-nginx
proxy-body-sizedefaults to 1MB; nginxclient_max_body_sizedefaults to 1MB). - Typical Cloudflare plans cap HTTP request bodies at 100MB.
- Confirm the container has enough temporary disk for at least one full in-flight upload.
Details: Large file uploads (Pro).
Related
| Topic | Doc |
|---|---|
| Port map & overrides | Container Ports |
| External TLS / proxy headers | Behind a reverse proxy |
| Large file uploads | Large file uploads (Pro) |
| Start / stop / logs | Operations |
| Install runbook | Getting started checklist |
| Overview | Pro Self-Hosted |