Not able to connect to other node from the admin node

+1 vote
Hi,

I have successfully installed multi chain setup on my windows machine. I created one admin node using the Multichain create command and started it using the multichaind chainname -daemon command .

The issue here is : I am not able to connect to the other node from my admin node :

I tried opening another command prompt , and tried multichaind newchain@ipaddress:port but it is giving me an error Couldn't retrieve blockchain parameters from the seed node "Seed Node's IP Address".

Can anyone help on this issue?
asked Mar 7, 2018 by ss_developer
Hi,

I have the Multi chain setup done on my windows machine. Wanted to install Multi chain Explorer on my windows.

Can you please help me on this ?

1 Answer

+1 vote
You should try to use a different data directory for your second node, if you are running it on the same machine.

Otherwise it uses by default the same data-dir as the first node, but the filder called "newchain" does already exists here.

 

This is done with the parameter --datadir, that you should use on every multichain-command of the second node.

 

That was the problem I had.

Maybe that already helps? Also check that you use different rpc and p2p ports since otherwise I think they are going to use the same ports.
answered Mar 7, 2018 by Alexoid
So how can I set the datadir variable ?

Also as of now , whenever I am creating any new multichain node , its folder is formed in C:/users/username/AppData/Roaming/multichain

What are the stpes which i can follow for changing the data-dir for new node ?
As I said: use the parameter --datadir=<customdir> on each command for the second node.

EDIT:
Sorry, correct is "command line flag", not "parameter".
Thanks for your help ! The solution worked for me .
...