I have built Catcoind (a fork of the Bitcoin / project) and I can access the commands in my terminal by doing this from root:
That will start Catcoind, open the port, and allow me to type commands like './catcoind getdifficulty', but I want to access them from a PHP JSON-RPC client running on another server. The code I currently have there is:
$catcoin = new jsonRPCClient('http://RPCUSER:RPCPASS@IP:PORT');
My config file for the Catcoind build on Ubuntu is:
When I run the code, it says that it failed to open the stream / connection refused. The config for Catcoind is at location ~/.catcoin/catcoin.conf. Any ideas?