my config is below, the Bitcoin Core version is v0.18.0
txindex=1
server=1
rpcuser=username
rpcpassword=password
rpcallowip= the ip I connect
rpcport=port
but I got error Error: connect ECONNREFUSED
my config is below, the Bitcoin Core version is v0.18.0
txindex=1
server=1
rpcuser=username
rpcpassword=password
rpcallowip= the ip I connect
rpcport=port
but I got error Error: connect ECONNREFUSED
it's not listening on the external interface; try rpcbind=0.0.0.0
it's the network interface to listen on
Please don't ask support from me personally, definitely not for basic networking questions. For bitcoind related support questions you could try asking on the bitcoin stack exchange. But I'd recommend doing some of your own research.