Connecting to Bitcoin Node Remotely from Another Network - bitcoin-core JS
Connecting to Bitcoin Node Remotely from Another Network - bitcoin-core JS
I am interested in connecting to my bitcoin node remotely from another network via JSON RPC. However, whenever I run:
const Bitcoin = require('bitcoin-core');
const client = new Bitcoin({ host: MY_NODE_IP, port: "8332", username: username, password: password });
and then any of the commands from this library, I get:
Error: ETIMEDOUT
Is this the correct way to connect to a node remotely?
http://ift.tt/2Alt7Fr
Comments
Post a Comment