Author

Topic: Connecting to Quark RPC server (Read 611 times)

legendary
Activity: 1008
Merit: 1000
GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC
January 15, 2014, 03:26:14 PM
#8
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';

$rpcclient = new jsonRPCClient('https://quarkuser:[email protected]:8910');

$res = $rpcclient->getinfo();

echo print_r($res, true);

Where I'm doing mistake ?

Thanks


Try:
$rpcclient = new jsonRPCClient('http://quarkuser:[email protected]:8910');
Instead:
$rpcclient = new jsonRPCClient('https://quarkuser:[email protected]:8910');



I removed the SSL from server.
legendary
Activity: 1764
Merit: 1018
January 15, 2014, 03:18:05 PM
#7
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';

$rpcclient = new jsonRPCClient('https://quarkuser:[email protected]:8910');

$res = $rpcclient->getinfo();

echo print_r($res, true);

Where I'm doing mistake ?

Thanks


Try:
$rpcclient = new jsonRPCClient('http://quarkuser:[email protected]:8910');
Instead:
$rpcclient = new jsonRPCClient('https://quarkuser:[email protected]:8910');

legendary
Activity: 1008
Merit: 1000
GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC
January 15, 2014, 03:08:39 PM
#6
They're in the same directory but in root :

/root/.quarkcoin
full member
Activity: 236
Merit: 100
In dreamland; he awaits you.
January 15, 2014, 02:43:49 PM
#5
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
legendary
Activity: 1008
Merit: 1000
GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC
January 14, 2014, 04:46:10 PM
#4
Try adding :

listen=1

I added and restarted the QT, but nothing changed..
full member
Activity: 236
Merit: 100
In dreamland; he awaits you.
January 14, 2014, 01:19:38 PM
#3
Try adding :

listen=1
legendary
Activity: 1008
Merit: 1000
GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC
January 14, 2014, 01:00:11 PM
#2
Bump Sad
legendary
Activity: 1008
Merit: 1000
GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC
January 13, 2014, 10:20:01 AM
#1
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)


The netstat --ip -lpa|grep quarkcoind command prints :


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';

$rpcclient = new jsonRPCClient('https://quarkuser:[email protected]:8910');

$res = $rpcclient->getinfo();

echo print_r($res, true);

Where I'm doing mistake ?

Thanks
Jump to: