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;
server=1 daemon=1 rpcuser=username rpcpassword=password rpcport=8332 rpcallowip=myipaddress
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?