I have two nodes running in different PC-s they have different IP-s. I want to connect one node to another with -addnode or -connect arguments. Can anyone help me please?

1 Answer 1


It seems like you answered your own question? You can use addnode=IP if you want to connect to a specific node as well as others, or connect=IP if you only want to connect to that one node and no others. Just add it to your configuration file.

  • But which IP I should use because now when I am doing it and after checking with 'getaddednodeinfo' there is no connection. Oct 1, 2017 at 7:08
  • 1
    Make sure the correct port is open/forwarded if it's behind a firewall, perhaps try to ping one machine from the other to see if there is a connection Oct 1, 2017 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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