monitor: listen on correct port to accept agent connections (#5100)

## Problem
The previous arguments have the monitor listen on `localhost`, which the
informant can connect to since it's also in the VM, but which the agent
cannot. Also, the port is wrong.

## Summary of changes
Listen on `0.0.0.0:10301`
This commit is contained in:
Felix Prasanna
2023-08-24 17:32:46 -04:00
committed by GitHub
parent 3128eeff01
commit 18537be298

View File

@@ -465,7 +465,7 @@ fn cli() -> clap::Command {
.arg(
Arg::new("vm-monitor-addr")
.long("vm-monitor-addr")
.default_value("127.0.0.1:10369")
.default_value("0.0.0.0:10301")
.value_name("VM_MONITOR_ADDR"),
)
.arg(