Bitcoin Forum
May 29, 2024, 11:23:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Setting up P2Pool  (Read 568 times)
XBladeRunner (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
December 27, 2013, 07:17:57 PM
Last edit: December 27, 2013, 07:29:24 PM by XBladeRunner
 #1

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?








infinitybo
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 28, 2013, 01:37:31 PM
 #2

Yes we'll gladly help you furthermore you can use the "services" section.
borg441
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 28, 2013, 02:17:05 PM
 #3

check your network
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!