I’ve got an issue with connecting to my FDB instance (running in Docker, Ubuntu) on a Debian host (server).
I am trying to connect via ‘fdbcli’ from my local machine (not the one running Docker). It says ‘The database is unavailable’ and ‘status’ does not work (‘unknown’ fields).
Docker is forwarding the :4500 port from the container to outside.
I can use ‘fdbcli’ from debian to access FDB in the container since i used the /usr/lib/foundationdb/make_public.py script.
(Using ‘fdbcli’ with a fdb.cluster-file with either 127.0.0.1 or the public IP of the Debian server)
But connecting from my local machine is not possible with the public IP of the Debian server.
Using ‘fdbcli’ gives ‘The database is unavailable’.
Using ‘status’ within gives ‘Using cluster file `fdb.cluster’. Unable to communicate with the cluster controller at 172.17.0.3:4500 to get status.’
So it seems to use the local-docker-network address…
But, ‘curl IP :4500’ gives a result, even if it’s not a pretty one - so it definitely is reachable.
Does someone know why this is?
I saw #365 but that does not change a thing since I used the make_public script before anyway. I think it does pretty much the same thing, doesn’t it?