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?

6
  • Did you try using the rpcuser and password params from the cli Commented Dec 19, 2016 at 9:56
  • yes, same error. Commented Dec 19, 2016 at 11:16
  • how do you run bitcoind? with regtest? Commented Dec 19, 2016 at 14:08
  • no, just with it's conf file, no parameters. in crontab on boot. Commented Dec 19, 2016 at 17:24
  • Try issuing the command netstat -tulpn | grep bitcoin and report back what it returns Commented Dec 20, 2016 at 22:23

1 Answer 1

-2

You should try adding daemon=1 to your bitcoin.conf file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.