Describe the issue
The --help for rpcbind suggests that the default behavior is to bind to all interfaces. However, in Core 0.13.1, I noticed that if rpcbind is left out of the config, the RPC server is either only bound to the loopback interface or only bound to the IPv6 port.
Can you reliably reproduce the issue?
Yes. It fails differently, depending on whether or not you've supplied rpcallowip
Reproduction Scenario 1
Fails silently, only binds to loopback interface.
server=1
rpcuser=something
rpcpassword=somethingelse
- Binds to 127.0.0.1:8332
- Binds to [fe80::1%lo0]:8332
Reproduction Scenario 2
Error message in log, only binds to all interfaces for IPv6.
server=1
rpcuser=something
rpcpassword=somethingelse
rpcallowip=0.0.0.0/0
rpcallowip=::/0
Binding RPC on address 0.0.0.0 port 8332 failed.reported in debug.log.- Binds to [::]:8332
What version of bitcoin-core are you using?
0.13.1
Machine specs:
- OS: Apple OS X 10.11.6 (15G1108)
- CPU: 2.7 GHz 12-Core Intel Xeon E5
- RAM: 64 GB 1866 MHz DDR3 ECC
- Disk size: 1TB
- Disk Type (HD/SDD): SSD