Title: Connecting to Quark RPC server Post by: RoooooR on January 13, 2014, 03:20:01 PM I'm trying to connect to my quarkcoin daemon(on a vps) for my php website(godaddy);
Blockchain is up to date, here is conf file (I added the rpcssl=1 later) http://gyazo.com/ee6b1b3a8693d93d9b9be9a070ffa436.png The netstat --ip -lpa|grep quarkcoind command prints : http://gyazo.com/9047f4768f4bdb15d932be7d4c06a070.png I can't see the port of quarkcoin p2p port(8910) in above image and I can't connect from php test call = Quote require_once 'jsonRPCClient.php'; Where I'm doing mistake ?$rpcclient = new jsonRPCClient('https://quarkuser:quarkpassword@106.186.119.138:8910'); $res = $rpcclient->getinfo(); echo print_r($res, true); Thanks Title: Re: Connecting to Quark RPC server Post by: RoooooR on January 14, 2014, 06:00:11 PM Bump :(
Title: Re: Connecting to Quark RPC server Post by: zeewolf on January 14, 2014, 06:19:38 PM Try adding :
listen=1 Title: Re: Connecting to Quark RPC server Post by: RoooooR on January 14, 2014, 09:46:10 PM Try adding : listen=1 I added and restarted the QT, but nothing changed.. Title: Re: Connecting to Quark RPC server Post by: zeewolf on January 15, 2014, 07:43:49 PM It looks like your quarkcoind does not load conf file. Where do you have it ?
It should be where your wallet.dat file is, ~/quarkcoin/quarkcoin.conf Title: Re: Connecting to Quark RPC server Post by: RoooooR on January 15, 2014, 08:08:39 PM They're in the same directory but in root :
/root/.quarkcoin Title: Re: Connecting to Quark RPC server Post by: testz on January 15, 2014, 08:18:05 PM I'm trying to connect to my quarkcoin daemon(on a vps) for my php website(godaddy); ... I can't see the port of quarkcoin p2p port(8910) in above image and I can't connect from php test call = Quote require_once 'jsonRPCClient.php'; Where I'm doing mistake ?$rpcclient = new jsonRPCClient('https://quarkuser:quarkpassword@106.186.119.138:8910'); $res = $rpcclient->getinfo(); echo print_r($res, true); Thanks Try: $rpcclient = new jsonRPCClient('http://quarkuser:quarkpassword@106.186.119.138:8910'); Instead: $rpcclient = new jsonRPCClient('https://quarkuser:quarkpassword@106.186.119.138:8910'); Title: Re: Connecting to Quark RPC server Post by: RoooooR on January 15, 2014, 08:26:14 PM I'm trying to connect to my quarkcoin daemon(on a vps) for my php website(godaddy); ... I can't see the port of quarkcoin p2p port(8910) in above image and I can't connect from php test call = Quote require_once 'jsonRPCClient.php'; Where I'm doing mistake ?$rpcclient = new jsonRPCClient('https://quarkuser:quarkpassword@106.186.119.138:8910'); $res = $rpcclient->getinfo(); echo print_r($res, true); Thanks Try: $rpcclient = new jsonRPCClient('http://quarkuser:quarkpassword@106.186.119.138:8910'); Instead: $rpcclient = new jsonRPCClient('https://quarkuser:quarkpassword@106.186.119.138:8910'); I removed the SSL from server. |