Author

Topic: Help setting up P2Pool (Read 420 times)

newbie
Activity: 34
Merit: 0
December 27, 2013, 08:52:48 PM
#1
Posted this in the newbie section but I was just released, hope I can get some help here.

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? Port 8332? Others?

Could anyone give me some pointers?
Jump to: