0

I have a server at DigitalOcean with Ubuntu installed and bitcoind with rpc which IS working.

With my Amazon AWS CentOs server bitcoin-cli is working but not EasyBitcoin-PHP, it's returning 0:

$bitcoin = new Bitcoin('username','password','myipaddress','8332');

echo "Status: ".$bitcoin->status;

Bitcoin.conf

server=1
daemon=1
rpcuser=username
rpcpassword=password
rpcport=8332
rpcallowip=myipaddress

Checkout this image. On the working DigitalOcean Ubuntu server it includes AddLocal(192.81.219.224:18333,1) AND Discover: IPv4 eth0: 192.81.219.224enter image description here

I also tried to add -discover=1 to the AWS CentOS but it didn't do anything new and still isn't working.

I'm guessing it may have to do with Amazon's Elastic IP's or something?

0

The fix was:

setsebool -P httpd_can_network_connect 1

Amazon AWS apparently limits httpd network connections initially.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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