Bitcoin Forum
November 24, 2017, 08:53:19 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: json-RPC after adding a username to the bitcoin.conf giving errors  (Read 871 times)
WorldOfBitcoin
Member
**
Offline Offline

Activity: 102



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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!