bind_failed

Diagnostic `nanook::adapters::bind_failed`

Summary

adapter `{0}` failed to bind `{1}`

Help

ensure the address is free and the process can bind it

Details

When this fires

An adapter that listens on a socket couldn't bind its target address. The two builtins that hit this are prometheus (TCP, defaults to 0.0.0.0:9090) and statsd / dogstatsd (ephemeral UDP). The address shown in the error is the resolved host:port from the adapter's host and port opts in nanook.toml.

What to check

  • Is something already listening there? ss -tlnp | grep <port> (or ss -ulnp for statsd UDP).
  • Ports below 1024 need CAP_NET_BIND_SERVICE or root.
[[adapters]]
kind = "prometheus"
host = "0.0.0.0"
port = 9090