Bitcoin Forum
May 07, 2024, 10:37:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind --connect=192.168.0.4 not working  (Read 2415 times)
Berlu (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 16, 2012, 07:43:08 PM
 #1

Hello everyone!

I installed the satoshi client on a second local computer. Since I don't want to download the entire blockchain again, I tried to connect to my old computer with "bitcoind --connect=192.168.0.4"

Unfortunately the client doesn't open a connection to my other pc.
Since "telnet 192.168.0.4 8333" is working, I don't think that I have any connectivity problems. If I start the client without the connect option, the client works as designed (of course without an actual block chain).
Does anyone know what could cause my problem?

OS: Linux 3.0, Ubuntu 12.04
client version: 0.6.2-oneiric0

TIA
1715121429
Hero Member
*
Offline Offline

Posts: 1715121429

View Profile Personal Message (Offline)

Ignore
1715121429
Reply with quote  #2

1715121429
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715121429
Hero Member
*
Offline Offline

Posts: 1715121429

View Profile Personal Message (Offline)

Ignore
1715121429
Reply with quote  #2

1715121429
Report to moderator
1715121429
Hero Member
*
Offline Offline

Posts: 1715121429

View Profile Personal Message (Offline)

Ignore
1715121429
Reply with quote  #2

1715121429
Report to moderator
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 16, 2012, 07:48:29 PM
 #2

Not sure what your problem is but you can simply copy the blockchain file from one computer to another (the files are in the bitcoin datadir).  Much faster than downloading it one block at a time.
Berlu (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 16, 2012, 07:57:05 PM
 #3

I tried to copy blk* but the client on the new machine wasn't able to open the files.

error message:

Code:
Loading block index...


EXCEPTION: 11DbException
Db::open: Das Argument ist ungültig
bitcoin in Runaway exception

EnvShutdown exception: DbEnv::close: Das Argument ist ungültig (22)

("Das Argument ist ungültig" = "the argument is invalid")

Since the client on the old machine is working proper, the blockchain files shouldn't be corrupt.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
May 16, 2012, 08:04:44 PM
 #4

Make sure you stop bitcoind on the old machine before making a copy.  Also I am not sure if it matters but I copy everything (except the wallet.dat).
Berlu (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
May 16, 2012, 08:26:44 PM
 #5

Ok, I copied the entire folder and it worked. Thanks!
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!