Skip to content

Is there any way to disable the Alloy HTTP server #1509

Open
@frejanordsiek

Description

@frejanordsiek

When alloy runs, it launches a local HTTP server for debugging, defaulting to binding to 127.0.0.1:1234 (see https://grafana.com/docs/alloy/latest/troubleshoot/debug and https://grafana.com/docs/alloy/latest/reference/cli/run/ ).

Going through the documentation (config file docs and command line interface docs), there appears to be no way to actually disable this local HTTP server. Is there any way to disable it (clearly not documented) short of patching Alloy's source code and building it from source? This would be much much much better (and more reliable) than having to use a firewall rule to block the port on localhost.

For reference, this is for running Alloy on multi-user nodes where exposing internal interfaces to local users is something to be avoided.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions