mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-21 23:53:14 +01:00
Listen metrics on all interfaces
This commit is contained in:
parent
4f1f0df7d2
commit
4388dcc20b
@ -163,7 +163,7 @@ var (
|
||||
tlsEnabled = true
|
||||
}
|
||||
|
||||
metricsListener, err := net.Listen("tcp4", fmt.Sprintf("localhost:%d", mgmtMetricsPort))
|
||||
metricsListener, err := net.Listen("tcp4", fmt.Sprintf(":%d", mgmtMetricsPort))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user