Author

Topic: Can't connect my two PC's for Main Net mining (BOUNTY??) (Read 706 times)

newbie
Activity: 42
Merit: 0
REALLY FUCKING TIRED OF THIS WAIT 360 SECONDS SHIT LOL

every time i fucking log in and post a first reply to anything, it gives me that error (even though I haven't posted for over 8 hours) and of course you can't hit back and have all of your text saved like on normal forums...but i digress.

i was able to fix the USE_UPNP=- problem.  but here we go again!  can't connect the two PC's for fuck all.  sudo ufw status verbose shows inactive, i can ping each PC manually perfectly fine, i added the nodes of each, tried a wired & wireless connection, won't FUCKING CONNECT!  getting so mad LOL been trying to fix this shit for days.  if someone can help me through this i will send some coins your way...(saving this post watch the error happen again LOL)
newbie
Activity: 42
Merit: 0
Still don't know what the problem is.  I cannot compile on my development computer using

make -f makefile.unix USE_UPNP=-

The compiler will complain about various UPNP problems, and I don't know how to fix it.  I installed miniupnpc and am still having a problem compiling it that way.  But when I compiled them for testnet mining, I did not use the USE_UPNP=- tag, and was able to connect them for -testnet mining.  Do I need USE_UPNP=- on the end in order for them to connect together on the main RPC port?

Just using the normal
./coin -connect=xxx.xxx.x.x

command does not connect them, BUT I am able to ping the computers from the command line!!  Anyone have any damn idea what the problem is!?  I portforwarded all the ports, and like I said the firewall is inactive!
newbie
Activity: 42
Merit: 0
Well, now I can't connect them again!  I don't know what the problem is.  I was trying to connect without the -testnet command, and it won't work.  It also won't work with -testnet either again!

Not sure what the damn problem is. 

sudo ufw status verbose shows both inactive!
newbie
Activity: 42
Merit: 0
If you are inside the same subnet (192.168.x.x or similar) you should have to port-forward anything as the traffic won't cross the router. You might have a firewall issue in ubuntu though. Try to temporarely disable the ubuntu firewall to see if they connect.

Also, you should try to add each nodes addresses in the debug console using the following command in the two clients.

addnode add

Also disabling the Map ports using UPnP might help.

Hope it helps you.



Yeah I actually figured it out not long after you posted this, what was strange was that on my home PC I was able to ping my laptop, but my laptop could not ping my home PC.  It had to do with the firewall and I was able to find out the commands in order to fix it, the problem is solved thanks!
newbie
Activity: 29
Merit: 0
If you are inside the same subnet (192.168.x.x or similar) you should have to port-forward anything as the traffic won't cross the router. You might have a firewall issue in ubuntu though. Try to temporarely disable the ubuntu firewall to see if they connect.

Also, you should try to add each nodes addresses in the debug console using the following command in the two clients.

addnode add

Also disabling the Map ports using UPnP might help.

Hope it helps you.

newbie
Activity: 42
Merit: 0
I've been fucking around trying to make my own (well, copying the litecoin source) cryptocurrency for shits and giggles, I'm not a programmer (well, I'm learning, also why I'm doing this),

I'm basically to the point where I need to connect a second computer to my development computer in order to start mining testnet coins.  I cannot for the life of me get them to connect to each other, my ./coin getinfo command (I'm running Ubuntu on both of the computers) always shows 0 connections and therefore I cannot start mining from my second computer.  I have port-forwarded all the ports (P2P, Testnet, RPC).

The laptop is being used as the development PC, and initially was connected to my network via wifi, but now I even connected it to the router directly to see if it changed anything, and even though it gave it a new IP address, I still can't connect them.

Any help would be appreciated.  Sorry if some of it doesn't make sense, I don't know entirely what I'm doing.

UPDATE: I CAN'T CONNECT ON THE MAIN NET...BUT IT LET ME CONNECT ON TESTNET!?
Still don't know what the problem is.  I cannot compile on my development computer using

make -f makefile.unix USE_UPNP=-

The compiler will complain about various UPNP problems, and I don't know how to fix it.  I installed miniupnpc and am still having a problem compiling it that way.  But when I compiled them for testnet mining, I did not use the USE_UPNP=- tag, and was able to connect them for -testnet mining.  Do I need USE_UPNP=- on the end in order for them to connect together on the main RPC port?

Just using the normal
./coin -connect=xxx.xxx.x.x

command does not connect them, BUT I am able to ping the computers from the command line!!  Anyone have any damn idea what the problem is!?  I portforwarded all the ports, and like I said the firewall is inactive!
Jump to: