How to get Node URL in private ethereum network

0 votes

I have made peer connections between peer 1 and peer 2. I am currently on peer 1. Now, I want to create a new peer: peer 3 and connect this to peer 2. To do this, I need to know the Node Url of peer 2 which I don't. How can I get to Node Url from peer 1?

P.S.: I tried admin.peers but the output do not contain the Node Url. 

Jan 10, 2019 in Blockchain by slayer
• 29,370 points
1,852 views

1 answer to this question.

0 votes

You have already noticed that  admin.peers does not return the node url. There is another method of the same admin object that can be used to get the node url:

> admin.nodeInfo

 

answered Jan 10, 2019 by Omkar
• 69,220 points

Related Questions In Blockchain

–1 vote
1 answer

How to import an account in private ethereum network?

 When you create a new account, the ...READ MORE

answered Jan 9, 2019 in Blockchain by Omkar
• 69,220 points
1,582 views
–1 vote
1 answer

How to change default account in private ethereum network?

First list the accounts: > eth.accounts NOTE: Even ...READ MORE

answered Jan 10, 2019 in Blockchain by Omkar
• 69,220 points
1,876 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 10, 2019 in Blockchain by Omkar
• 69,220 points
2,906 views
–1 vote
1 answer

How to get balance of all accounts in ethereum network using javascript?

You can write a function that will ...READ MORE

answered Jan 10, 2019 in Blockchain by Omkar
• 69,220 points
2,492 views
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
1,943 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,469 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, 2019 in Blockchain by saeedi
• 120 points

edited Mar 6, 2019 by Omkar 2,508 views
0 votes
1 answer

How to get account with ethers by default in ethereum private network?

Have you created an account before allocating ...READ MORE

answered Jan 9, 2019 in Blockchain by Omkar
• 69,220 points
1,713 views
0 votes
1 answer

How to get IP address of peer connected in private ethereum network?

To get these details, you can use ...READ MORE

answered Jan 10, 2019 in Blockchain by Omkar
• 69,220 points
3,136 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP