admin管理员组

文章数量:1406720

I have a docker container which is running on OL9 image. The app connects to a database running on a different host on port 30042. When the container starts, its able to connect to the DB and work fine. After some time, the connection is lost and container is not able to connect to it.

When container is working, telnet is working from inside container

telnet 10.0.3.11 30042
Trying 10.0.3.11...
Connected to 10.0.3.11.
Escape character is '^]'.

After some time, it stops working.

telnet 10.0.3.11 30042
Trying 10.0.3.11...

Is there a clue what could be causing this to happen? What should I check?

本文标签: linuxDocker container unable to connect to remote hostStack Overflow