0

I have created two instances.One for local server and another for AWS server.

I have install Geth/v1.4.18-stable-ef9265d0/linux/go1.7.1 in local server and Geth/v1.6.7-stable-ab5646c5/linux-amd64/go1.8.1 installed in AWS server.

How to connect this two node using geth ?

  • use admin.addNode("enode://<id>@<ip_address>:<port>") – Badr Bellaj Jul 25 '17 at 11:22
2

You can find the enodeId of one of the nodes using admin.nodeInfo. Then open the console of other node and add the first node using admin.addNode("<enodeId>@<ip>:<port>"). You can find enodeId and port of the first node from admin.nodeInfo.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.