Skip to content

Specify listen ports for discovery on CLI / via env vars #10957

Description

@Hoeze

Feature description

Please add override flags and environment variables for the listen addresses.

Problem or use case

I'm running multiple syncthing processes on my server for different users.
Each user has to have set the listen address correctly in the configuration, to get an open firewall port.
It would be amazing if I could hint the listen address for a process directly via CLI or environment variable.

Alternatives or workarounds

Currently, this has to be done for each user in its config file. This is a bit annoying from a deployment perspective.

Activity

  1. added theissue type on Nov 20, 2026
  2. added
    enhancement
    needs-triage
    on Nov 20, 2026
  3. spatialerror3 commented on Nov 22, 2026

    @spatialerror3

    discover addresses for global address discovery not always from the same port, (for running multiple instances on the same box)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-triage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions