I created blockchain on machine and then i tried to connect it from different port:-
multichaind -datadir='/home/tms/Blockchain' -port=3001 -rpcport-3002 chain2@*.*.*.*:3000
it worked absolutly fine.
But when I am trying to get address on second node(on same machine), I am getting following errors
Command: multichain-cli chain2 -datadir='/home/tms/Blockchain' -rpcport=3002 -port=3001 getaddresses
error: couldn't connect to server
Command: multichain-cli chain2 -datadir='/home/tms/Blockchain' getaddresses
{"method":"getaddresses","params":[],"id":1,"chain_name":"chain2"}
error: incorrect rpcuser or rpcpassword (authorization failed)
Please help me out with this.