I have two servers that are connected into local private ethereum blockchain successfully and they do mining as well. After few minutes one of them disconnects and after that it re-connects again and so on. Sometimes both get connected, or both disconnected, or one of the is connected while other one is disconnected. Blockchain is sync for both servers. After the re-connection, they continue to mine.
[Q] What may cause peer disconnections?
Thank you for your valuable time and help.
My client connects into my local private ethereum blockchain successfully. :
> admin.addPeer("enode://<id>@<ip>:3000?discport=0");
true
> net
{
listening: true,
peerCount: 1, || 0,
version: "23422",
getListening: function(callback),
getPeerCount: function(callback),
getVersion: function(callback)
}