Hi Guys,
Hope you can help me.
I've got two virtual machines setup.
VM#1 is setup as a bitcoin node
VM#2 is the server trying to reach BTC node
VM#1 Bitcoin.conf: server=1
rpcuser=testuser
rpcpassword=testpassword
rpcport=19915
rpcallowip=192.168.1.13
VM#1 - Shows its listening on port https://i.imgur.com/59P100s.pngI did a test through curl to see if I could generate a wallet, This worked (running on the #1 vm itself):
curl --user testuser:testpassword --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getnewaddress","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:19915
When I use the VMs IP address from VM #2 or even on the vm itself, it shows as connection refused:
curl --user testuser:testpassword --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getnewaddress","params":[]}' -H 'content-type:text/plain;' http://192.168.1.11:19915
So it works using the loopback/local address 127.0.0.1 but not the machine ip on the network for some reason or there's a setting I haven't did correctly.
Can anyone please shed any light on what could be causing this? it's driving me crazy.
Additional Info: - Firewall disabled
- Running on Oracle VM VirtualBox
- Network Adapter
- Bridged Adapter on WIFI card
- Promiscuous Mode: Allow All
- Cable Connected: Ticked.
Hope this enough info to help.