Connection timeout while connecting to multi node cluster

Hi,
I have set up for multi node cluster running locally using docker. (refered https://docs.couchbase.com/server/4.5/install/docker-deploy-multi-node-cluster.html).

But I am not able to connect to it and getting the error com.couchbase.client.deps.io.netty.channel.ConnectTimeoutException: connection timed out: /172.17.0.3:11210

Although I am able to successfully connect to single node cluster therefore first I connected and then tried adding servers then got error:
Received Error during Reconfiguration.
com.couchbase.client.deps.io.netty.channel.ConnectTimeoutException: connection timed out: /172.17.0.3:11210
at com.couchbase.client.deps.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:218) [core-io-1.7.9.jar:?]
at com.couchbase.client.deps.io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38) [core-io-1.7.9.jar:?]
at com.couchbase.client.deps.io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:120) [core-io-1.7.9.jar:?]
at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:399) [core-io-1.7.9.jar:?]
at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:464) [core-io-1.7.9.jar:?]
at com.couchbase.client.deps.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131) [core-io-1.7.9.jar:?]
at com.couchbase.client.deps.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [core-io-1.7.9.jar:?]
at java.lang.Thread.run(Thread.java:834) [?:?].

Can any one please help on how can I connect to multi node cluster.