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
版权声明:本文标题:linux - Docker container unable to connect to remote host - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745039409a2638988.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论