Peer Connection

+2 votes

I am trying to create a block chain by using multichain. I have created a node in on server. When i am trying to connect to another node by using multichaind chain1@[ip-address]:[port]  But i'm not getting any permission message.How should i connect nodes ?.

Thanks in advance

 

asked Apr 23, 2017 by anonymous

1 Answer

+1 vote

You need to substitute the [ip-address] and [port] words with the actual IP address and port of the first node. The entire string ("node address") is output on the command line when the first node starts.

answered Apr 24, 2017 by MultiChain
Thanks for your quick response.when i am giving [ip-address] and [port] with my actual IP and port of the first node. I'm getting the error as "Couldn't initialize permission database for blockchain chain1. probably multichaind for this blockchain is already running.existing..."

I didn't get first node address... can you please guide me how to communicate between nodes.
It sounds like you are trying to run both nodes on the same computer. If you want to do this, you will need to use the -datadir option on the second node to prevent this clash taking place. Or run the second node on a different computer.
Ya you are correct. got it. Thank you so much ..and one small doubt when these files ("db.log,debug.log,enties.dat,params,peers,permission..) are getting updated?.
They're getting updated constantly as the blockchain proceeds to work.
...