Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: btc123 on May 26, 2012, 02:53:54 AM



Title: Unable to connect via CLI
Post by: btc123 on May 26, 2012, 02:53:54 AM
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


Title: Re: Unable to connect via CLI
Post by: TheHarbinger on May 26, 2012, 03:17:33 AM
server=1   :D


Title: Re: Unable to connect via CLI
Post by: btc123 on May 26, 2012, 03:30:28 AM
Thanks but it still doesn't work.


Title: Re: Unable to connect via CLI
Post by: Stephen Gornick on May 26, 2012, 07:23:33 AM
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