I am running Docker version 19.03.4
on Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-140-generic x86_64)
. Inside I start two images:
Image 1
I expose the following ports: 0.0.0.0:3333->3000/tcp
(that's Grafana).
Image 2
I expose the following ports: 0.0.0.0:8812->8812/tcp, 0.0.0.0:9000->9000/tcp, 0.0.0.0:9009->9009/tcp
(that's QuestDB).
The I go to localhost:3333 (Grafana) and try to connect to QuestDB (localhost:8812), but it does not work.
When I go back to my machine's terminal and type telnet localhost 8812
everything works just fine.
Can you help me find the reason why through one docker image I can't seem to find the port of another?
FWIW: I also tried creating a docker network, where I added both images to that network, but that did not work either.