How to connect two bitcoin nodes running globally

0

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?

Ashot Khachatryan

Posted 2017-09-30T20:25:40.870

Reputation: 111

Answers

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.

MeshCollider

Posted 2017-09-30T20:25:40.870

Reputation: 8 735

But which IP I should use because now when I am doing it and after checking with 'getaddednodeinfo' there is no connection.Ashot Khachatryan 2017-10-01T07:08:27.230

1Make 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 connectionMeshCollider 2017-10-01T10:19:23.537