Bitcoin Forum
May 23, 2024, 09:47:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to connect my two nodes? (SOLVED)  (Read 374 times)
wingding (OP)
Hero Member
*****
Offline Offline

Activity: 770
Merit: 504



View Profile
May 18, 2014, 12:26:32 PM
Last edit: May 18, 2014, 10:27:56 PM by wingding
 #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:


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!