Having troubleshoot while connecting to external node using java multi-chain API

+2 votes
Recently i am facing an issue while connecting to another node in multi chain (which is in different system).
It throws error like org.apache.http.NoHttpResponseException: XXX.XXX.X.100:2681 failed to respond.
i have already set rpcallowip=XXX.XXX.X.100 parameter in multichain.conf file of the both nodes.
Even after i am able to connect with that external node using CMD but the same way it won't allow me to connect using java API.
asked Feb 6 by Nikunj Dhameliya

1 Answer

+1 vote
 
Best answer

You need to set the rpcalllowip parameter in multichain.conf to the IP address from which the API commands should be accepted, not the IP address of the node itself.

answered Feb 11 by MultiChain
selected Feb 12 by Nikunj Dhameliya
...