user45114: I tried to to host bitcoin core json-rpc to listen other than localhost but it would not work even i set it to listen to ip 0.0.0.0
My config (for bitcoin.conf)
testnet=1
server=1
daemon=1
listen=1
rpcuser=something
rpcpassword=secret
rpcport=8332
rpcconnect=0.0.0.0

So how do i make it so that it will listen to ip other than localhost or 127.0.0.1?
VPS informations:
Ubuntu 16.04
Latest Core (just installed it today)
client is remote

user48884: The listen option is for the P2P network connection, not the RPC service.

The option you want is rpcallowip=<ip>. 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.

45114: <p>I tried to to host bitcoin core json-rpc to listen other than localhost but it would not work even i set it to listen to ip 0.0.0.0</p>

<p>My config (for bitcoin.conf)</p>

<pre><code>testnet=1
server=1
daemon=1
listen=1
rpcuser=something
rpcpassword=secret
rpcport=8332
rpcconnect=0.0.0.0
</code></pre>

<p>So how do i make it so that it will listen to ip other than localhost or 127.0.0.1?</p>

<p>VPS informations:</p>

<p>Ubuntu 16.04</p>

<p>Latest Core (just installed it today)</p>

<p>client is remote</p>
 48884: <p>The <code>listen</code> option is for the P2P network connection, not the RPC service.</p>

<hr>

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

<hr>

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