Author

Topic: Bitcoind / bitcoin-cli and RPC....... (Read 823 times)

jr. member
Activity: 51
Merit: 2
November 13, 2015, 12:10:58 PM
#7
Yes everything is ok ......

founded it.... DNS problem...

thank you for the help
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
November 13, 2015, 12:01:24 PM
#6
yes it work when I getinfo in terminal, but when I browse to my php script.... I got error 500...

Do you have rpcallowip set to the address you are requesting from?
jr. member
Activity: 51
Merit: 2
November 13, 2015, 11:56:58 AM
#5
yes it work when I getinfo in terminal, but when I browse to my php script.... I got error 500...
legendary
Activity: 4130
Merit: 1307
November 13, 2015, 09:44:30 AM
#4
Give it a try from the command line first, then you can see whether it is bitcoind or not:

e.g.

bitcoin-cli getinfo

Then, you might try

127.0.0.1

for the IP.

jr. member
Activity: 51
Merit: 2
November 13, 2015, 09:28:09 AM
#3
I am sorry but when I want to reply it doen't accept me..

I interact with jsonRPCClient.php

with test.php

Code:
require_once('jsonRPCClient.php');
$bitcoin = new jsonRPCClient('hamdi','password','107.191.40.74','8332');
$test=$bitcoin->getinfo();
print_r($test);
echo (
$test);
?>

my bitcoin.conf

server=1
daemon=1
rpcuser=hamdi
rpcpassword=password
staff
Activity: 3458
Merit: 6793
Just writing some code
November 13, 2015, 08:28:15 AM
#2
How are you interacting with bitcoind?
jr. member
Activity: 51
Merit: 2
November 13, 2015, 08:02:40 AM
#1
hi

I install Bitcoind on a Ubuntu VPS server...
It's just for test with my app...

nothing works....

No Rpc...
can't interact with php ....

I've got always ...

Code:
error: {"code":-32601,"message":"Method not found"}

is there possible to install an old version of bitcoind that work (without lock problem.... bitcoine core is still running...) and bitcoin-cli....

simply bitcoind and nothing else?
Jump to: