How to connect multichain rpc?

+2 votes
Hi,

I have setup multichain in Oracle VM 6.0.4 using centos. i created a chain and in its config file I have put

rpcport = 9699

rpcconnect = 192.168.1.35 (centos ip)

rpcallowip = 192.168.1.79 (my mac ip)

listen =0

Then in my node app I installed "multichain-node" and try to establish a connection. But every time it responds with "ECONNREFUSED". What should I do to establish an rpc connection?
asked Jul 24, 2019 by karthik

1 Answer

0 votes

It looks like you may not be using the right IP address for rpcallowip, to represent the source of the API requests as they appear to the node. Why not start with rpcallowip=0.0.0.0/0 to allow all incoming API requests, in order to confirm this is the problem? Also be sure to restart the node with each configuration change.

answered Jul 24, 2019 by MultiChain
...