Commit 64ffbebc authored by Matteo Melli's avatar Matteo Melli
Browse files

Set default prometheus bind address to localhost.

parent 5b7ff4f3
......@@ -122,7 +122,7 @@ public class Config {
public Builder() {
try {
prometheusBind = InetAddress.getLocalHost();
prometheusBind = InetAddress.getByName("localhost");
} catch (UnknownHostException ex) {
throw new RuntimeException(ex);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment