Saturday 18 March 2017

docker nodejs container cant connect mysql container

I'm running Docker server in Digital Ocean. There I have two containers Nodejs and Mysql. Mysql container has open port to 3306.

When trying to access mysql via nodejs by Docker Server ip + port. I get Error: connect ETIMEDOUT.

When I run same nodejs docker setup in my local computer it works fine. Is there something i'm missing?



via user257980

No comments:

Post a Comment