Kunstmaan / libphp-multichain

Unofficial PHP library for interacting with the Multichain JsonRPC interface.
MIT License
32 stars 29 forks source link

fopen(localhost:7764): failed to open stream: No such file or directory #11

Open bdushi opened 6 years ago

bdushi commented 6 years ago

/home/ec2-user/demo/vendor/fguillot/json-rpc/src/JsonRPC/HttpClient.php:270 /home/ec2-user/demo/vendor/fguillot/json-rpc/src/JsonRPC/Client.php:195 /home/ec2-user/demo/vendor/fguillot/json-rpc/src/JsonRPC/Client.php:179 /home/ec2-user/demo/vendor/kunstmaan/libphp-multichain/src/be/kunstmaan/multichain/MultichainClient.php:91 $multichain = new MultichainClient('localhost:7764', 'multichainrpc', 'G4qkA3XPg61Q2xFQvbnyFa889DaBTNhGbsxSki3HEfsE', 3); $helper = new MultichainHelper($multichain); $multichain->setDebug(true)->getPeerInfo();

cebe commented 6 years ago

$multichain = new MultichainClient('localhost:7764', 'multichainrpc', 'G4qkA3XPg61Q2xFQvbnyFa889DaBTNhGbsxSki3HEfsE', 3);

you are missing http:// before localhost.