diff --git a/beacon_node/src/config.rs b/beacon_node/src/config.rs index 073ee3b8326..e2cc291e490 100644 --- a/beacon_node/src/config.rs +++ b/beacon_node/src/config.rs @@ -232,6 +232,7 @@ pub fn get_config( client_config.network.discovery_port = unused_port("udp").map_err(|e| format!("Failed to get port for discovery: {}", e))?; client_config.http_api.listen_port = 0; + client_config.http_metrics.listen_port = 0; client_config.websocket_server.port = 0; }