Author

Topic: Can't set up a connection between nodes when clonning altcoin PLEASE HELP (Read 1208 times)

hero member
Activity: 2147
Merit: 518
P2P port on second PC is closed or forwarded but not used (service not seen). Can anyone give me a heads up how to open a port if sitting behind a proxy?
hero member
Activity: 2147
Merit: 518
Try this: Remove the addnodes from your .conf file. Have both machines running the daemon, without any "connect" or "addnode" directives.
Then, on one machine, tell it
Code:
./MyCoind connect X.X.X.X
Where "X.X.X.X" is the IP of the other machine.
Removed additional nodes from .conf, run daemon on the first PC and connected to the first PC's IP address through the second PC. Got the same issue and "connection timeouts". I have my seednodes hardcoded in net.cpp:
Code:
line 1141 static const char *strDNSSeed[][2] = {{"X.X.X.X", "Y.Y.Y.Y"},}; //seednodes for mainnet
which are IP's of my two PC's.
P2P port is forwarded through a router only on the first PC with default IP. Second PC is behind proxy (VPN http://www.securitykiss.com) so that i can't forward any ports on that side. I am not sure, but maybe the problem is that i should have P2P port forwarded on BOTH PC's?


sr. member
Activity: 364
Merit: 250
I'm really quite sane!
Try this: Remove the addnodes from your .conf file. Have both machines running the daemon, without any "connect" or "addnode" directives.
Then, on one machine, tell it
Code:
./MyCoind connect X.X.X.X
Where "X.X.X.X" is the IP of the other machine.
hero member
Activity: 2147
Merit: 518
Hello,

in attempt to clone a coin from source i have spent almost three days trying to connect nodes to newly compiled daemon and got a connection issue. Since my digitalocean subscription has expired, i can only use my current physical rigs connected through router tp-link R860. That i have only one public IP i have set a VPN connection on my second rig. On the first rig which uses my default IP, i have forwarded both RPC and P2P ports.
Now doing the  following to connect to my second machine:
Code:
./MyCoind -connect=X.X.X.X &
backward connecting second machine to the first:
Code:
./MyCoind -connect=Y.Y.Y.Y &
doing getinfo and seeing no available connections listed.
Both debug.log's say
on first rig:
Code:
trying connection  Y.Y.Y.Y lastseen=0.0hrs
connection timeout
on second rig:
Code:
trying connection X.X.X.X lastseen=0.0hrs
connection timeout

mycoin.conf:
Code:
rpcuser=my_user_id
rpcpassword=my_password_id
rpcallowip=127.0.0.1
rpcport=59124
port=59125
rpcthreads=10
server=1
addnode=X.X.X.X
addnode=Y.Y.Y.Y

Nodes are not seen each other. Is it even possible to get nodes running through one router or should i necessary get a remote server with distinct static IP? I haven't seen this issue when set a node using digitalocean droplet. Please help.


Jump to: