Post
Topic
Board Bitcoin Technical Support
Topic OP
Having trouble communicating two seperate servers
by
BitSportsbook
on 14/06/2017, 10:24:29 UTC
I have two servers
#1 - apache/
#2 - bitcoind

I want to use the apache server to send commands to the bitcoind server

this is my bitcoin.conf of the bitcoind server

listen=1
server=1
daemon=1
rpcuser=24234asdasd
rpcpassword=23asdasd
rpcport=8333
rpcconnect=IP.OF.apache.server
rpcallowip=*


When I try to curl, I get emply reply from server and when I try to use easybitcoin.php in the apache server,

    require("easybitcoin.php");
$bitcoin = new Bitcoin('24234asdasd','23asdasd','bitcoindf.server.ip.a.','8333');
    
    $info = $bitcoin->getinfo();
    print_r($info);

I also get a blank page. Any idea whats going on?

Do I need to install bitcoin-qt or some other instance of bitcoin on the apache server?