Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: super6 on May 16, 2011, 03:26:18 AM



Title: What is an RPC?
Post by: super6 on May 16, 2011, 03:26:18 AM
I've added a bitcoin module to my website so that people can checkout with bitcoin but it asks for a BitCoin RPC host address as well as a user name and password. I've google a bit and found API calls for RPC but no explanation of what it is and what this address should be, nor the login credentials.


Title: Re: What is an RPC?
Post by: Stephen Gornick on May 16, 2011, 05:16:23 AM
I've added a bitcoin module to my website so that people can checkout with bitcoin but it asks for a BitCoin RPC host address as well as a user name and password. I've google a bit and found API calls for RPC but no explanation of what it is and what this address should be, nor the login credentials.

To connect to the bitcoind running on the same host,
 you'll want to create or edit a bitcoin.conf and set rpcuser and rpcpassword:
 - http://en.bitcoin.it/wiki/Running_Bitcoin


Title: Re: What is an RPC?
Post by: rollingpaperguy on February 10, 2013, 09:40:23 AM
Where do I find the 'Host Address'? Is that my wallet address?


Title: Re: What is an RPC?
Post by: kjj on February 10, 2013, 01:01:15 PM
Where do I find the 'Host Address'? Is that my wallet address?

That is the IP address of the server running bitcoind.  If it is on the same server as the website, it is almost certainly 127.0.0.1 (or "localhost") instead of the actual IP.