Replies: 2 comments 2 replies
-
I assume you solved your problem, thanks for coming back to close the issue!
|
Beta Was this translation helpful? Give feedback.
0 replies
-
How you solved this issue? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
I tested my code at local and the api service runs good. For some reason I need to set the service in a docker for usage. So I created a docker image by Dockerfile. However when I run the docker I got the following error:
INFO: Started server process [7]
INFO: Waiting for application startup.
INFO: Application startup complete.
ERROR: [Errno 99] error while attempting to bind on address ('172.16.20.105', 8090): cannot assign requested address
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
I checked the port and for sure it is not token by other process. The service could run on the same address while start in the local.
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.75.1
Python Version
3.8.0
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions