Unable to connect to second instances

+1 vote

Have created 2 instances of ubuntu VM on Google Cloud Platform (GCP) and installed the multichain on both of the them successfully however when I in try to connect the second instances then it say's "error: couldn't connect to server" . Please help with the solution

 

asked May 31, 2018 by Abhay

1 Answer

0 votes

That error means that multichain-cli cannot connect to multichaind. First, you need to ensure you have multichaind running on both instances. Then, if you're trying to connect from multichain-cli which is not running locally on those instances, you need to ensure that multichaind is configured to allow the incoming API connections, using the rpcallowip runtime parameter. You can search this Q&A for rpcallowip for more information.

answered Jun 1, 2018 by MultiChain
...