Bitcoin Forum
May 24, 2024, 03:10:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: json-RPC after adding a username to the bitcoin.conf giving errors  (Read 977 times)
WorldOfBitcoin (OP)
Member
**
Offline Offline

Activity: 102
Merit: 10



View Profile
April 01, 2013, 09:47:24 PM
 #1

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
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!