Title: Simple? Question.. rpcminer Post by: shaitand on May 22, 2011, 11:02:10 PM I've tried this on a couple windows 7 machines now. bitcoin -server with a bitcoin conf specifying username/password/port/allowed ip simply doesn't work.
I can connect to http://127.0.0.1:8332 and it prompts for a username and password but returns a page not found... this should be dumping something in json format yes? rpcminer pointed to that address with correct user and password parameters just says it can't retrieve work. Title: Re: Simple? Question.. rpcminer Post by: grndzero on May 22, 2011, 11:11:59 PM I've tried this on a couple windows 7 machines now. bitcoin -server with a bitcoin conf specifying username/password/port/allowed ip simply doesn't work. I can connect to http://127.0.0.1:8332 and it prompts for a username and password but returns a page not found... this should be dumping something in json format yes? rpcminer pointed to that address with correct user and password parameters just says it can't retrieve work. As far as I know there isn't a web interface. Are you sure there's not something else running on that port? Vmware Server? Title: Re: Simple? Question.. rpcminer Post by: shaitand on May 22, 2011, 11:37:15 PM rpc goes through http. That is why I was checking http. netstat -na confirms that the daemon is listening on 8332 (and 8333 for some reason). Windows firewall is off.
I don't really need a webpage. I need a mining client to be able to connect. Below is the rpcminer-cpu line I'm using and the bitcoin.conf. Replacing the url with the slush pool url and the username plus pass with my slush information works perfectly. Code: rpcminer-cpu -url=http://127.0.0.1:8332 -user=myuser -password=mypassword Code: # bitcoin.conf configuration file. Lines beginning with # are comments. Title: Re: Simple? Question.. rpcminer Post by: grndzero on May 22, 2011, 11:47:37 PM rpc goes through http. That is why I was checking http. netstat -na confirms that the daemon is listening on 8332 (and 8333 for some reason). Windows firewall is off. I don't really need a webpage. I need a mining client to be able to connect. Below is the rpcminer-cpu line I'm using and the bitcoin.conf. Replacing the url with the slush pool url and the username plus pass with my slush information works perfectly. Code: rpcminer-cpu -url=http://127.0.0.1:8332 -user=myuser -password=mypassword http protocol doesn't always mean that there is a web server with web pages. The rpc connect address is for sending commands, not connecting clients. The http:// address you want to connect to is the ip of the machine on the network. 127.0.0.1 is localhost and not accessible outside that computer. Everything else in the config file and client command line look correct. Title: Re: Simple? Question.. rpcminer Post by: shaitand on May 23, 2011, 03:03:09 AM Quote The http:// address you want to connect to is the ip of the machine on the network. 127.0.0.1 is localhost and not accessible outside that computer. Yeah. The mining client is running on the same machine. I didn't figure there was a point moving on to external clients if I can't connect to the daemon on the same box. In any case, that config doesn't let me connect. Not on the lan address of the box or the 127.0.0.1 address. Hopefully its a windows 7 related problem. Title: Re: Simple? Question.. rpcminer Post by: grndzero on May 23, 2011, 03:39:28 AM Quote The http:// address you want to connect to is the ip of the machine on the network. 127.0.0.1 is localhost and not accessible outside that computer. Yeah. The mining client is running on the same machine. I didn't figure there was a point moving on to external clients if I can't connect to the daemon on the same box. In any case, that config doesn't let me connect. Not on the lan address of the box or the 127.0.0.1 address. Hopefully its a windows 7 related problem. If you are only connecting from the local host you do not need the rpcallowip line at all, you can comment it out. Quote rpcminer pointed to that address with correct user and password parameters just says it can't retrieve work. Does it actually say connected then that it's can't get work? Do you have 8333 port forwarded through your firewall? At the bottom of the client toward the right in the main window it says Connections, Blocks, and Transactions ... how many connections do you have? |