Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[proposal][feature-request] Make the daemon port configurable #485

Closed
kittaakos opened this issue Nov 14, 2019 · 1 comment · Fixed by #513
Closed

[proposal][feature-request] Make the daemon port configurable #485

kittaakos opened this issue Nov 14, 2019 · 1 comment · Fixed by #513
Labels
type: enhancement Proposed improvement

Comments

@kittaakos
Copy link
Contributor

Bug Report Feature request/Proposal

Current behavior

Currently, the port for the CLI daemon is always:

port = ":50051"

According to this comment, the hard-coded port is excluded on Windows when Hyper-V is installed, so clients cannot connect to the running daemon.

failed to listen: listen tcp :50051: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

Would it be possible to give the desired daemon port as an argument to the CLI? We could let the OS pick a random, available port for us, and we could connect to it. Thoughts?

Expected behavior

Environment

  • CLI version (output of arduino-cli version):
  • OS and platform:

Additional context

@masci
Copy link
Contributor

masci commented Nov 21, 2019

Waiting for #487 to be merged before implementing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants