VM won't connect to multichain on another VM

+1 vote

I followed the get started tutoial and set up my own blockchain on an Azure linux VM, I set up another VM and when I ran the multichaind mychain@IP:Port command it gives this 

Error : can not connect to  mychain@IP:Port make sure  Multichain is unning on port.

my first vm's ip adress is : 20.188.57.6, my second's IP is 20.188.59.71. But the IP they give me to connect with is different from the public one.

Another question is : do all of my nodes have to be in the same network as my root node or I can connect from other networks?

asked Jul 23 by AtlasQ

1 Answer

+1 vote

It sounds like this is probably a firewall problem and you need to open up the port that MultiChain nodes are connecting to each other on (see the default-network-port blockchain parameter).

It's possible to connect MultiChain nodes anywhere across the Internet.

answered Jul 23 by MultiChain
Thank you so much!
...