Closed
Description
It would be great if the gRPC server for the CLI daemon could start on any available port if the daemon.port
is not defined in the CLI configuration. So when the following is not specified:
daemon:
port: "50051"
The gRPC server would start on a random port, the new IDE could read the port from the stdout, and could connect to it.
arduino-cli/cli/daemon/daemon.go
Line 124 in a4ee670
Downstream request: arduino/arduino-ide#201
Thank you!