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

Popular posts from this blog

Antminer D3 Blissz Modified Firmware For Improved Performance

ETH To The Moon / Bank of England Cryptocurrency? / BTC Dominance / More (The Crypt0 Minute)