For development I'm trying to use a docker cluster to have a master node and several slave nodes. The master node starts perfectly and is running (on port 7447).
On the slave nodes connecting also runs perfectly when using:
multichaind dockerchain@172.17.42.5:7447
I've got no real indication on the IP address of the master node but docker-compose exposes in /etc/hosts on the slave nodes:
172.17.42.5 masternode
So i've tried running "multichaind dockerchain@masternode:7447", but it gives me
...
mchn: Could not establish connection with seed node - timeout
...
Error: Couldn't connect to the seed node masternode on port 7447 - please check multichaind is running at that address and that your firewall settings allow incoming connections.
Now strangely enough, if i first connect using the IP address, then the masternode version works as well.
What am I missing here?