Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: WorldOfBitcoin on April 01, 2013, 09:47:24 PM



Title: json-RPC after adding a username to the bitcoin.conf giving errors
Post by: WorldOfBitcoin on April 01, 2013, 09:47:24 PM
trying to get into experimenting with bitcoin web development.


When I edit the bitcoin.conf on my default install it was blank just with a password. Im trying to set it up so it can act as a server.


testnet=0
server=1
rpcuser=admin
rpcpassword=1234
rpcallowip=*


yet when I do this I get the error

(authorization failed) error: incorrect rpcuser or rpcpassword (authorization failed)

on the command bicoind getblockcount

I tried bitcoind getblockcount admin 1234



if anyone could link a good tutorial on this Id appreciate it.

https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29

is just too vague