I am running a bitcoin rpc server on my raspi and I can connect to it using local bitcoin-cli, but not externally from a windows on the same LAN. I tried installing ufw and disabling firewall on my raspi, and allowed tcp and udp connection to remote port 8332 on my windows, but that didn´t work. I can ping my raspi´s api from windows, but I can only get response from pinging my windows from raspi if I disable windows´ firewall. I don´t know what else to do.
I just noticed that if I put -rpcconnect=192.168.0.114 on bitcoin-cli argument it doesn´t connect, but if I put 127.0.0.1 it connects, and I am certain of the raspi´s ip is 192.168.0.114 from ifconfig result and also from ssh connection ( which works )