Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: wingding on May 18, 2014, 12:26:32 PM



Title: How to connect my two nodes? (SOLVED)
Post by: wingding on May 18, 2014, 12:26:32 PM
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: