Connection refused on JSON RPC with easybitcoin

+1 vote
Hello - I'm quite stuck on using JSON-RPC API with multichain.

Here is my chain multichain.config file

rpcuser=multichainrpc
rpcpassword=2GUsdRhRq1XmAfnBhFfpCbKBr9KHNYuzTquJctxPqEB5
rpcallowip=0.0.0.0
rpcallowip=107.70.46.125
rpcport=6806

and here is my file

<?php

require_once('easybitcoin.php');

$bitcoin = new Bitcoin("multichainrpc", "2GUsdRhRq1XmAfnBhFfpCbKBr9KHNYuzTquJctxPqEB5","107.170.46.125","6806");

$getinfo = $bitcoin->getInfo();

print_r($bitcoin);

print_r($getinfo);
?>

I'm using easybitcoin.php here just to try to get it working but am open to other recommendations.

Thank you!
asked Jun 13, 2016 by Katherine

1 Answer

...