Bitcoin Forum

Other => Beginners & Help => Topic started by: XBladeRunner on December 27, 2013, 07:17:57 PM



Title: Setting up P2Pool
Post by: XBladeRunner on December 27, 2013, 07:17:57 PM
Hi all,

I'm setting up P2Pool for some of the CPU/GPU coinds and have it working fine on the LAN but when I try to connect to the pool from the WAN I can't get it to connect.

my xcoind.conf looks like this:

rpcuser=MY_USER
rpcpassword=MY_PASSWORD
server=1
listen=1
rpcport=8332
port=8333
rpcthreads=50
rpcallowip=*

I start the pool like this:

python run_p2pool.py --net quarkcoin --a a_quark_address

The local LAN miner works fine with this:

./minerd -a quark -o stratum+tcp://10.0.12.10:8372 -u a_quark_address


Start the remote WAN miner like this:

./minerd -a quark -o http://WAN_IP:8332 -u MY_USER -p MY_PASSWORD

MY_USER and MY_PASSWORD are the same as the mycoind.conf

Quote
[2013-12-27 12:57:05] Long-polling activated for http://WAN_IP:8332/lp
[2013-12-27 12:57:05] JSON-RPC call failed: {
   "message": "Bad worker credentials",
   "code": -1
}
[2013-12-27 12:57:05] json_rpc_call failed, retry after 30 seconds

./minerd -a quark -o stratum+tcp://WAN_IP:8372 -u a_quark_address
./minerd -a quark -o stratum+tcp://WAN_IP:8332 -u MY_USER -p MY_PASSWORD


gives:

Quote
[2013-12-27 13:12:46] Starting Stratum on stratum+tcp://WAN_IP:8372
[2013-12-27 13:12:46] Binding thread 3 to cpu 3
[2013-12-27 13:12:46] Stratum connection failed: couldn't connect to host
[2013-12-27 13:12:46] ...retry after 30 seconds


What ports do I need open on the firewall?

Could anyone give me some pointers?










Title: Re: Setting up P2Pool
Post by: infinitybo on December 28, 2013, 01:37:31 PM
Yes we'll gladly help you furthermore you can use the "services" section.


Title: Re: Setting up P2Pool
Post by: borg441 on December 28, 2013, 02:17:05 PM
check your network