Unable to connect fdb and go app running in separate docker containers

Unable to connect FoundationDB with Go in different containers in same network.
Using this as basic reference Go+FDB

I am also facing the same issue.