I have a full node running on a Linux device (A) with static IP 192.168.1.203 and I want to run bitcoin-cli commands or even eclair instances from a different device (B) within the same local network.
Device (A) has bitcoin.conf configured to accept RPC calls with this basic bitcoin.conf
server=1
daemon=1
txindex=1
rpcuser=<user_name>
rpcpassword=<password>
Actually I have an eclair running successfully on Device (A) and default RPC ports connect well. No typos on user_name and passwords.
When running the following command in device (B):
bitcoin-cli -rpcconnect=192.168.1.203 -rpcport=8332 -rpcuser=<user_name> -rpcpassword=<password> -getinfo
error: Could not connect to the server 192.168.1.203:8332 (error code 1 - "EOF reached")
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
Any ideas what can be wrong?