I have 2 docker containers one running an HTTP server and the other one a Redis database:
CONTAINER ID STATUS PORTS NAMES
86… Up 38 minutes 0.0.0.0:8000->8000/tcp todolist_web_1
3a… Up 38 minutes 6379/tcp todolist_redis_1
These two containers are linked together and run on docker machine :
NAME ACTIVE DRIVER STATE URL SWARM DOCKER
default * virtualbox Running tcp://192.168.99.100:2376 v18.09.9
To test my web server, from local host (which is an Ubuntu 16.04), I run the following commands:
curl -X PUT --data “new task” https://192.168.99.100:8000/todos
curl -X GET https://192.168.99.100:8000/todos
and get the following message:
curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received
Could you please help me to resolve the issue?
Thank you in advance.