Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: evlew on July 22, 2011, 03:46:11 AM



Title: Help: Trying to solo mine namecoins
Post by: evlew on July 22, 2011, 03:46:11 AM
I have a windows computer running namecoind with the required configurations

I'm trying to connect to it from my linuxcoin rigs with phoenix and am having trouble. 

I think it has something to do with the URL any suggestions?

This is what i'm trying
python phoenix.py -u http://rpcuser:rpcpass@ipaddress:port -k phatk DEVICE=0 etc etc


Title: Re: Help: Trying to solo mine namecoins
Post by: Vince on July 22, 2011, 08:16:22 AM
let me make a guess:

you forgot to put

server=1

in your bitcoin.conf?

edit:

you are connecting from another machine, so you also need to set:

rpcallowip and rpcconnect


Title: Re: Help: Trying to solo mine namecoins
Post by: Chris Acheson on July 22, 2011, 05:47:35 PM
let me make a guess:

you forgot to put

server=1

in your bitcoin.conf?

bitcoind and namecoind listen for RPC commands even without the server flag.  That's all they do, so it doesn't make sense to disable server functionality on them.

Quote
you are connecting from another machine, so you also need to set:

rpcallowip and rpcconnect

rpcallowip is probably what needs to be set here.  rpcconnect is for using the client as a front-end to a remote bitcoind or namecoind.

I have a windows computer running namecoind with the required configurations

I'm trying to connect to it from my linuxcoin rigs with phoenix and am having trouble. 

I think it has something to do with the URL any suggestions?

This is what i'm trying
python phoenix.py -u http://rpcuser:rpcpass@ipaddress:port -k phatk DEVICE=0 etc etc

Post your bitcoin.conf and any arguments that you're passing to namecoind when you start it.


Title: Re: Help: Trying to solo mine namecoins
Post by: forexmasterja on July 22, 2011, 10:09:12 PM
I think the rpcallowip is the problem i had to set this to "*" to get it to work with my local machines.


Title: Re: Help: Trying to solo mine namecoins
Post by: Chris Acheson on July 22, 2011, 10:18:19 PM
I think the rpcallowip is the problem i had to set this to "*" to get it to work with my local machines.

You should avoid doing this if you can.  Setting rpcallowip to * allows connections from anywhere, which means that someone who gets access to your password can empty your wallet.  You can have multiple rpcallowip entries, so ideally you should have one for each specific IP address that you want to allow connections from.