RPCALLOWIP settings

+1 vote
Please explain a bit more on RPCALLOWIP settings,

Listening for API requests on port 9242 (local only - see rpcallowip setting)
asked Feb 19, 2019 by KMG

1 Answer

+1 vote

rpcalllowip setting  allow JSON-RPC connections from specified source or specified ip adrdress. Valid for <ip> are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24). 

 By default, only RPC connections from localhost are allowed.  Specify as many rpcallowip= settings as you like to allow connections from other hosts.
NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED, because the rpcpassword is transmitted over the network unencrypted.
This option can be specified multiple times like this:
#rpcallowip=10.1.1.34
#rpcallowip=192.168.1.0/255.255.255.0
#rpcallowip=172.16.0.0/24

 

 

answered Feb 19, 2019 by gimmick
...