Bitcoin Forum
May 12, 2024, 07:42:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Unable to connect via CLI  (Read 875 times)
btc123 (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
May 26, 2012, 02:53:54 AM
 #1

Can somebody please explain this to me like I'm 12?

I want to automate various online transactions but I always get:
$ ./bitcoind getbalance
error: couldn't connect to server

$ cat bitcoin.conf
rpcpassword=**********             # Is this my wallet password?
rpcallowip=192.168.1.2
rpcssl=1
rpcsslciphers=DEFAULT:@STRENGTH
1715499744
Hero Member
*
Offline Offline

Posts: 1715499744

View Profile Personal Message (Offline)

Ignore
1715499744
Reply with quote  #2

1715499744
Report to moderator
1715499744
Hero Member
*
Offline Offline

Posts: 1715499744

View Profile Personal Message (Offline)

Ignore
1715499744
Reply with quote  #2

1715499744
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.
1715499744
Hero Member
*
Offline Offline

Posts: 1715499744

View Profile Personal Message (Offline)

Ignore
1715499744
Reply with quote  #2

1715499744
Report to moderator
1715499744
Hero Member
*
Offline Offline

Posts: 1715499744

View Profile Personal Message (Offline)

Ignore
1715499744
Reply with quote  #2

1715499744
Report to moderator
1715499744
Hero Member
*
Offline Offline

Posts: 1715499744

View Profile Personal Message (Offline)

Ignore
1715499744
Reply with quote  #2

1715499744
Report to moderator
TheHarbinger
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


Why is it so damn hot in here?


View Profile
May 26, 2012, 03:17:33 AM
 #2

server=1   Cheesy

12Um6jfDE7q6crm1s6tSksMvda8s1hZ3Vj
btc123 (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
May 26, 2012, 03:30:28 AM
 #3

Thanks but it still doesn't work.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
May 26, 2012, 07:23:33 AM
 #4

rpcuser=
rpcpassword=

you can use whatever value you want, just that the remote needs to use the same value as exists in the bitcoin.conf

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


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!