Bitcoin Forum
June 22, 2024, 02:02:17 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Self-built mining pool can’t connect rpc port 9332 ,Help PLZ on: September 11, 2017, 01:35:34 PM
[environment]
Operating system 2008r2 64
Litecoin wallet version litecoin-0.14.2-win32-setup
litecoin.conf contains server=1 rpcuser=abc rpcpassword=123
Wallet has been updated ,It is open all the time. Using command netstat -nao can find it is listening on port 9332 .Connecting the port by using telnet is normal.
both litecoin-cli.exe getinfo and litecoin-cli.exe getdifficulty returned normal values.
But brower accesses http://127.0.0.1:9332, It returned JbSONRPC server handles only POST requests

testing client curl:
C:>curl --user abc:123 --data-binary '{"jsonrpc":"1.0","id":"1","method":"getinfo","params":[]}'
-H 'content-type:text/plain;' http://127.0.0.1:9332
returned
{"result":null,"error":{"code":-32700,"message":"Parse error"},"id":null}

Either p2pool_win32_15.0 or p2pool-master connects wallet

command:run_p2pool.exe/run_p2pool.py abc 123 --net litecoin -a xxxxxxxxxxxxxxx --outgoing-conns 4

error:
2017-09-08 12:56:35.882000 Testing bitcoind RPC connection to 'http://127.0.0.1:
9332/' with username 'abc'...
2017-09-08 12:56:35.897000 > Check failed! Make sure that you're connected t
o the right bitcoind with --bitcoind-rpc-port!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!