Can I connect on a machine(A) the multichain's client to a node running on a machine(B) ?

+3 votes
I have a VM running a node and i would want to know if there is a way to connect an other machine to this node to run JSON-RPC API commands ?
asked Aug 21, 2019 by nephis

1 Answer

0 votes
 
Best answer

Yes, it's no problem. You need to set the rpcallowip runtime parameter for the node to allow incoming API connections from this other machine (search this forum for rpcallowip for more details). And then you need to point your application at the appropriate IP address (or if using multichain-cli, run it without parameters to see how to configure this).

answered Aug 21, 2019 by MultiChain
Thank you.
It's a pleasure to use Multichain
But the same thing is not working with API.
I mean it's able to connect using command prompt, but won't able to connect using java API.
...