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

+1 vote
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, 2020 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, 2020 by MultiChain
selected Feb 12, 2020 by Nikunj Dhameliya
...