Bitcoin Forum

Bitcoin => Mining => Topic started by: fizgig on March 04, 2011, 12:16:15 AM



Title: Not able to connect poclbm to bitcoin on another machine
Post by: fizgig on March 04, 2011, 12:16:15 AM
I have bitcoind running on a linux machine with the following bitcoin.conf file:

Code:
rpcuser=username
rpcpassword=password
rpcallowip=*
rpcssl=1

I also did all the steps here:  http://www.bitcoin.org/wiki/doku.php?id=rpcssl  ...including testing the openssl connection from windows XP (where I want to run poclbm from) to bitcoind on the linux server.  The connection appears to work fine.

When I try to connect to bitcoind running on linux from windows xp using the commmand:
Code:
poclbm.exe --user=username --pass=password -o 192.168.2.10 -p 8332 -d0 --verbose --platform=0 -d0

I just get the "Problems communicating with bitcoin RPC" error message.  Any ideas what I can try?


Title: Re: Not able to connect poclbm to bitcoin on another machine
Post by: Mahkul on March 04, 2011, 12:57:29 AM
What if you try to connect from the local machine?
What if you put in the actual IP address instead of the wildcard? I am not sure whether you can just use *; in networking it is sometimes necessary to specify IPs like: *.*.*.*


Title: Re: Not able to connect poclbm to bitcoin on another machine
Post by: fizgig on March 04, 2011, 01:06:08 AM
I changed rpcallowip=* to rpcallowip=192.168.2.127 which is the address of the windows xp miner client and restarted bitcoind.  Still have the same error.

poclbm can connect to bitcoin if I run bitcoin on the xp machine.  I'm not sure how to run bitcoin on the machine running bitcoind since the machine is headless (no X server installed).

Any other suggestions?


Title: Re: Not able to connect poclbm to bitcoin on another machine
Post by: Garrett Burgwardt on March 04, 2011, 01:45:33 AM
I don't believe that you should have rpcallowip in the .conf file - that should be added as a launch statement, and probably the ssl one too. And make sure you run bitcoind with -server


Title: Re: Not able to connect poclbm to bitcoin on another machine
Post by: fizgig on March 04, 2011, 04:01:22 AM
I started bitcoind as so:

Code:
./bitcoind -server -rcpallowip=* -rpcssl=1

and also later tried:

Code:
./bitcoind -server -rcpallowip=192.168.2.* -rpcssl=1

Didn't make any difference.

The wiki seems to think that those options should work fine in the bitcoin.conf file:  http://www.bitcoin.org/wiki/doku.php?id=running_bitcoin (http://www.bitcoin.org/wiki/doku.php?id=running_bitcoin)



Title: Re: Not able to connect poclbm to bitcoin on another machine
Post by: fizgig on March 04, 2011, 04:19:32 AM
Got it working.  I got rid of the rpcssl=1 line in the conf file.