Solo mining on OS X with Diablo Miner I want to test Solo mining on OS X with Diablo Miner, so I pass options:

./DiabloMiner-OSX.sh -u my_user -p my_pass -r 8332


and I get:

[5/1/13 11:01:37 PM] Started                                         
[5/1/13 11:01:37 PM] Connecting to: http://localhost:8332/                           
[5/1/13 11:01:37 PM] Using Apple OpenCL 1.1 (Aug 10 2012 19:59:48)                       
[5/1/13 11:01:38 PM] Added GeForce 9600M GT (#1) (4 CU, local work size of 512)              
[5/1/13 11:01:38 PM] ERROR: Cannot connect to localhost: Connection refused                  
[5/1/13 11:01:38 PM] Added GeForce 9400M (#2) (2 CU, local work size of 512)                 
[5/1/13 11:01:38 PM] ERROR: Cannot connect to localhost: Connection refused                  
[5/1/13 11:01:38 PM] ERROR: Cannot connect to localhost: Connection refused                  
[5/1/13 11:01:39 PM] ERROR: Cannot connect to localhost: Connection refused 


What could be the reason for this error?
Make sure That you have, in your bitcoin.conf file located in ~/Library/Application Support/Bitcoin at least the following:

server=1
rpcuser=&lt;username&gt;
rpcpassword=&lt;your_password&gt;


Restart Bitcoin client, enjoy Bitcoin solo mining. ;)