Good morning,
It's been 2 days I'm not able to send JSON-RPC commands from dedicated server
#2 to dedicated server
#1 (bitcoind host) because I continue to get CURL error: Failed to connect to <IP> port 18332: Connection refused (status code: 0)
Running on CentOS/CloudLinux 7, tested CURL (method
getinfo and
validateaddress) from two different Linux servers, tested on Bitcoin Core v0.17 (
currently running) and v0.18.
Only localhost is able to send RPC commands with success status 200.
bitcoin.conf:
listen = 1
server = 1
daemon = 1
testnet = 1
prune = 5000
[test]
onlynet = ipv4
rpcuser = username123
rpcpassword = password456
rpcbind = 0.0.0.0:18332
rpcallowip = 0.0.0.0/0
Port 18332 is open to IPv4 connections (TCP):
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2F8Xu6NUy.png&t=665&c=nSzTLrvGCPAA2Q)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fimage.prntscr.com%2Fimage%2FFd-7DO80SzCzrmiQHe9nZQ.png&t=665&c=qDidGazUhBSysQ)