'How to access docker container listening on 0.0.0.0:8000
I am new to Docker and trying to run an open-source Django application with Docker Desktop for Windows.
Command docker container ls shows the application is running, and the service is listening on port 0.0.0.0:8000.
What IP address should I use on the Windows host to access this service? I appreciate your help.
docker container ls
...
1f2c70d56d48 saleor-platform_api "python manage.py ru…" 23 minutes ago Up 23 minutes 0.0.0.0:8000->8000/tcp
saleor-platform-api-1
...
Solution 1:[1]
You would use port 8000 and host as either localhost or 127.0.0.1 or 0.0.0.0.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | dataplumber |
