I'm creating a pool, right now I'm trying to connect to bitcoin daemon, it responses with error "401", "HTTP Error 401 Unauthorized".

What should I enter in "login" and "password" fields?


Locate your bitcoin.conf file (https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File) and add these lines:

rpcuser = MyRpcUsername
rpcpassword = MyRpcPassword

These are the credentials you should be also using in your program.

| improve this answer | |
  • I have not enough reputation to vote up, but thank you! – user15441 May 13 '14 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.