linux - Docker container unable to connect to remote host - Stack Overflow

I have a docker container which is running on OL9 image. The app connects to a database running on a di

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745039410a4607721.html

相关推荐

  • linux - Docker container unable to connect to remote host - Stack Overflow

    I have a docker container which is running on OL9 image. The app connects to a database running on a di

    8小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信