rpc json outside localhost
The listen option is for the P2P network connection, not the RPC service.



The option you want is rpcallowip=&lt;ip&gt;. To allow all IP addresses to connect to your node's RPC port, you can use rpcallowip=0.0.0.0. Note that doing so is not recommended as it is insecure.



Don't set rpcconnect as that will make it impossible for bitcoin-cli to interact with Bitcoin Core.