0
I'm trying to put up a simple system for some penetration tests. I have an Ubuntu server 16.04.1 with apache2 and bitcoin. all running "Hiddn service" through tor (and bitcoind proxied 127.0.0.1:9050). Now, using easybitcoin.php , the apache shows getinfo, send receive, all good. but using bitcoin-cli nothing works! "couldn't connect to server"..
my bitcoin.conf is:
server=1
listen=1
proxy=127.0.0.1:9050
rpcuser=myuser
rpcpassword=mypassword
Any ideas why bitcoin-cli can't connect?
Did you try using the rpcuser and password params from the cli – Shabahat M. Ayubi – 2016-12-19T09:56:39.560
yes, same error. – Guy Dresher – 2016-12-19T11:16:37.340
how do you run bitcoind? with regtest? – Badr Bellaj – 2016-12-19T14:08:01.690
no, just with it's conf file, no parameters. in crontab on boot. – Guy Dresher – 2016-12-19T17:24:49.797
Try issuing the command netstat -tulpn | grep bitcoin and report back what it returns – Shabahat M. Ayubi – 2016-12-20T22:23:35.737
tcp 0 0 0.0.0.0:8333 0.0.0.0: LISTEN 1233/bitcoind tcp6 0 0 ::1:8332 ::: LISTEN 1233/bitcoind tcp6 0 0 :::8333 :::* LISTEN 1233/bitcoind – Guy Dresher – 2016-12-22T16:23:19.773