Open bdushi opened 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();
$multichain = new MultichainClient('localhost:7764', 'multichainrpc', 'G4qkA3XPg61Q2xFQvbnyFa889DaBTNhGbsxSki3HEfsE', 3);
you are missing http:// before localhost.
http://
localhost
/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();