[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:9332returned
{"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!