- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ip (0.13 sec)
-
docs/en/docs/deployment/server-workers.md
* Here we pass the class that Gunicorn can import and use with: ```Python import uvicorn.workers.UvicornWorker ``` * `--bind`: This tells Gunicorn the IP and the port to listen to, using a colon (`:`) to separate the IP and the port. * If you were running Uvicorn directly, instead of `--bind 0.0.0.0:80` (the Gunicorn option) you would use `--host 0.0.0.0` and `--port 80`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/zh/docs/deployment/server-workers.md
* `--worker-class`:在worker进程中使用的与 Gunicorn 兼容的工作类。 * 这里我们传递了 Gunicorn 可以导入和使用的类: ```Python import uvicorn.workers.UvicornWorker ``` * `--bind`:这告诉 Gunicorn 要监听的 IP 和端口,使用冒号 (`:`) 分隔 IP 和端口。 * 如果您直接运行 Uvicorn,则可以使用`--host 0.0.0.0`和`--port 80`,而不是`--bind 0.0.0.0:80`(Gunicorn 选项)。 在输出中,您可以看到它显示了每个进程的 **PID**(进程 ID)(它只是一个数字)。 你可以看到:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.7K bytes - Viewed (0)