connection count displays wrong number

+1 vote
I got 2 nodes each with different datadir, port, and rpcport. Since these 2 nodes are connected with each other, I thought the connection count for each node would be 1. However, 'getinfo' call displays 'connections : 3' instead of 1. What exactly does this 'connections' count mean?
asked Apr 10, 2017 by Hwang

1 Answer

0 votes
 
Best answer
You should use getpeerinfo to get a list of peers. If you're running in a virtual machine setup, each node might appear under several different IP addresses, so the peer-to-peer connections might be duplicated. There is no meaningful problem with this, so it should not concern you.
answered Apr 10, 2017 by MultiChain
...