Not able to connect nodes on Ethereum Private Network using bootnodes.

0 votes

I am running an Ethereum private node and now trying to connect 2 nodes. I am using the bootnode method to do this but it is not happening.

I am following the steps from this link: https://github.com/ethereum/go-ethereum/wiki/Setting-up-private-network-or-local-cluster

After completing all the steps, when I try to check the peers, I get no result.

>admin.peers
[]
Jan 27 in Blockchain by Siddu
206 views

1 answer to this question.

0 votes

If you have created the private network successfully and setup the bootnodes correctly as mentioned in the link, the reason you don’t see the peer might be because you have not added peer to your node.

To add the peer, run the below command from one peer:

>admin.addPeer(enodeUrlOfInstance)
answered Jan 27 by Omkar
• 67,660 points

Related Questions In Blockchain

0 votes
1 answer

Not able to send ethers in private ethereum network

Your account is locked by default due ...READ MORE

answered Jan 9 in Blockchain by Omkar
• 67,660 points
31 views
–1 vote
1 answer

How to connect two different nodes in private ethereum network?

To connect two nodes, you can use ...READ MORE

answered Jan 9 in Blockchain by Omkar
• 67,660 points
241 views
+1 vote
1 answer
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
169 views
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 502 views
0 votes
1 answer
0 votes
1 answer

Solidity geth: Error encountered during contract execution [Bad instruction]

recipes is a dynamic storage array. You need ...READ MORE

answered Oct 15, 2018 in Blockchain by Omkar
• 67,660 points
103 views
0 votes
1 answer

Not able to invoke a contract in Ethereum Private chain using geth

Hope this helps: contract mortal { /* ...READ MORE

answered Oct 22, 2018 in Blockchain by Omkar
• 67,660 points
49 views
+1 vote
1 answer

Not able to create new account in geth for private ethereum network

Looks like the account you are trying ...READ MORE

answered Dec 6, 2018 in Blockchain by Omkar
• 67,660 points
194 views