Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: KawalGrover on October 31, 2014, 09:02:38 PM



Title: New rpcallowip settings?
Post by: KawalGrover on October 31, 2014, 09:02:38 PM
Hi,

I recently downloaded bitcoin from github and changed the settings to allow for rpc.

This is how I have it:

rpcallowip=192.168.0.*

Seems like this does not work anymore.

However when running bitcoind, it complains that:

'Error: Invalid -rpcallowip subnet specification: 192.168.0.*.

Valid are a single IP, a network/netmask or a network CIDR.'


I'm not that familiar with networking.

Can someone tell me what a valid network/netmask or network/CIDR is for all addresses that could be in 192.168.0.*

(My broadcast address if it matters is: 192.168.0.255 and mask is 255.255.255.0)

Thanks in advance.


Title: Re: New rpcallowip settings?
Post by: dserrano5 on October 31, 2014, 09:22:42 PM
(My broadcast address if it matters is: 192.168.0.255 and mask is 255.255.255.0)

You want either "192.168.0.0/255.255.255.0" or "192.168.0.0/24".