-
-
Notifications
You must be signed in to change notification settings - Fork 96
Set fallback port for underspecified endpoints #1170
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense overall.
Is it still possible to explicitly specify 0
as port to get a random port that is available on the system?
04df03a
to
255dde2
Compare
255dde2
to
1736f7b
Compare
1736f7b
to
1faecbd
Compare
1faecbd
to
7c7d0df
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this locally and it works. For example, vast -e 0.0.0.0 start
no longer opens a random high-level port.
📔 Description
Sets a fallback port of
42000
when thevast.endpoint
option is set, but does not contain a port.📝 Checklist
🎯 Review Instructions
Run
vast -e localhost start
with and without this change to verify this works.