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 ?

1
  • use admin.addNode("enode://<id>@<ip_address>:<port>")
    – Badr Bellaj
    Commented Jul 25, 2017 at 11:22

1 Answer 1

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 and acknowledge you have read our privacy policy.

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