'uvicorn hosting on custom server
I am pretty new to FastAPI, I could run my app on default host (i.e)http://0.0.0.0:8000/
How can I run on different hosts like 13.217.123.13?
Code:
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8000,debug=True)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
