Author

Topic: How to connect my two nodes? (SOLVED) (Read 390 times)

brand new
Activity: 0
Merit: 0
December 18, 2018, 10:14:53 PM
#2
I have the same issue but the Broadcast ip for both my nodes seems to be the same. I am using Virtual Box and a bridged network.
hero member
Activity: 770
Merit: 504
May 18, 2014, 07:26:32 AM
#1
Hi
I made a litecoin clone for experiments & learning. I have compiled and started the headless client (mycoind) at two different machines:
1. My home machine, with ip1
2. My workplace machine with ip2
I have a VPN connection, so I work on machine 2 using ssh.
In each of the mycoin.conf files I have added the line connect=ip, where ip=ip for the other machine. I also do the same with rpcallowip=ip (not sure if it is needed though)

But the debug log files only goes like this:
2014-05-18 11:45:03 trying connection xx.xx.xx.xx lastseen=0.0hrs
2014-05-18 11:45:03 connect() failed after select(): Connection refused

If I start the client without specify connect, it get many connections (I use litecoin ports), it seems to be happily mining, not bothering that it is mining coins on its own different chain.

EDIT: SOLVED: Use the Bcast ip, get it from $ifconfig:


Jump to: