-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
add If 0, a random port is used.
#1983
Conversation
You'll need to run |
|
Done! |
docs/deployment.md
Outdated
@@ -33,7 +33,8 @@ Usage: uvicorn [OPTIONS] APP | |||
Options: | |||
--host TEXT Bind socket to this host. [default: | |||
127.0.0.1] | |||
--port INTEGER Bind socket to this port. [default: 8000] | |||
--port INTEGER Bind socket to this port. If 0, a random |
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.
Let's use the following sentence instead, please:
"Bind socket to this port. If 0, an available port will be picked."
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.
It's not random per se. 😅
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.
@Kludex I agree with your suggestion and have made the necessary changes. Thank you for your assistance.
Thanks |
Summary
Added to the documentation that if 0 is specified for the port number, a random port number is used.
Checklist