Can I connect to a non-administrative node using JSON-RPC?

0 votes


One quick question can we connect to 2nd/non-administrative node using json-rpc like I am able to do it for the main/administrative node?

The 2nd node just connects to the main code using the standard syntax "multichaind chain1@[ip-address]:[port]".




asked Mar 15, 2016 by Aman C

1 Answer

0 votes
Yes, you can connect to any node using JSON-RPC if you use the right credentials and that node permits incoming connections from your IP address. See this answer for some examples:
answered Mar 15, 2016 by MultiChain
But I am not able to connect to the 2nd node even though I have enabled the ip through rpcallowip, the same configuration is working for main/administrative node though.
Maybe it's a firewall issue in that case? You might want to try connecting to the appropriate port with a basic telnet session to see if it's possible. Also, ensure you're connecting to the RPC port and not the peer-to-peer protocol port.