Python Savoir connection error. [closed]

+1 vote

Hi i installed Multichain & Savoir in two nodes(two laptops) and started "chain1" from the node1 and node2 connected to the chain1. now i am trying to run the program(using Savoir) to connect to chain1 from node2 i am getting the following error in node2

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=4372): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f44a3d24e10>: Failed to establish a new connection: [Errno 111] Connection refused',))​

node1 multichain.conf

rpcuser=multichainrpc
rpcpassword=vTxv7DnYxX1hx9ZH8uHepHHMaCf1c9ftGmtGYVcF4rN

node2 multichain.conf

rpcuser=multichainrpc
rpcpassword=EEhoZ4nE5czYwWtNQzUixNwtwmnhjjjChudMZSrMFAsB

node1 program

import Savoir
rpcuser='multichainrpc'
rpcpasswd='vTxv7DnYxX1hx9ZH8uHepHHMaCf1c9ftGmtGYVcF4rN'
rpchost = 'localhost'
rpcport = '4372'
chainname = 'chain1'
api = Savoir.Savoir(rpcuser, rpcpasswd, rpchost, rpcport, chainname)
print api
print api.getaddressesbyaccount("")[0] # working

node2 program

import Savoir
rpcuser='multichainrpc'
rpcpasswd='EEhoZ4nE5czYwWtNQzUixNwtwmnhjjjChudMZSrMFAsB'
rpchost = 'localhost'
rpcport = '4372'
chainname = 'chain1'
api = Savoir.Savoir(rpcuser, rpcpasswd, rpchost, rpcport, chainname)
print api
print api.getaddressesbyaccount("")[0] # working

Please can someone suggest me what i am missing here, do i need to add anything in the multichain.conf file in the node1.

Note : I have followed the same procedure 3 months back i was successfull that time.

closed with the note: i got the solution its my mistake after giving permission from node1 i didnt start the node2 chain
asked Apr 27, 2017 by Rajeev
closed Apr 28, 2017 by Rajeev
...