bitcoin core – I can’t join by way of RPC port bitcoind

on

|

views

and

comments


I’ve arrange bitcoind, and I’m able to run bitcoin-cli instructions, I’m additionally in a position to make request by way of RPC.

curl –user username:password –data-binary ‘{“jsonrpc”: “1.0”, “id”:”curltest”, “technique”: “getblockchaininfo”, “params”: [] }’ -H ‘content-type: textual content/plain;’ http://127.0.0.1:18332

It additionally works. However connecting by way of the general public ip simply return Connection refused.

curl –user username:password –data-binary ‘{“jsonrpc”: “1.0”, “id”:”curltest”, “technique”: “getblockchaininfo”, “params”: [] }’ -H ‘content-type: textual content/plain;’ http://public-ip:18332

It returns

curl: (7) Failed to hook up with external-ip port 18332: Connection refused

Config file as follows.

server=1

rpcport=9776

rpcallowip=0.0.0.0/0

rpcbind=0.0.0.0

txindex=1

Share this
Tags

Must-read

Waymo raises $16bn to gas international robotaxi enlargement | Know-how

Self-driving automobile firm Waymo on Monday stated it raised $16bn in a funding spherical that valued the Alphabet subsidiary at $126bn.Waymo co-chief executives...

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

US regulators open inquiry into Waymo self-driving automobile that struck youngster in California | Expertise

The US’s federal transportation regulator stated Thursday it had opened an investigation after a Waymo self-driving car struck a toddler close to an...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here