<p>Your rpcallowip setting is 10.0.2.0, but you listed 10.0.2.2 as the host OS's IP. That could be your issue. </p>

CC BY-SA 3.0
2015-06-17T14:25:49.140Z
2015-06-17T14:25:49.140Z
jdb6167
<p>I set up bitcoind in Ubuntu 14.04 and I requested "getinfo", 
but returned HTTP 403 error "FORBIDDEN". I don't know why...</p>

<p>The environment is below..
・Ubuntu is installed in Virtualbox and bitcoind is installed in the Ubuntu.
・The Host OS is Mac OS.
・The Host OS and the gest OS (Ubuntu) is connected host only adapter.
  (Host OS -> 10.0.2.2  Gest OS-> 192.168.33.33)</p>

<p>The bitcoin.conf is below</p>

<blockquote>
  <p>server=1</p>
  
  <p>daemon=1</p>
  
  <p>rpcallowip = 10.0.2.0/24</p>
  
  <p>rpcuser=...</p>
  
  <p>rpcpassword=...</p>
  
  <p>rpcport=8332</p>
  
  <p>txindex=1</p>
  
  <p>keypool=100</p>
</blockquote>

<p>From the browser, type "<a href="http://rpcuser:rpcpassword@192.168.33.33:8332/" rel="nofollow">http://rpcuser:rpcpassword@192.168.33.33:8332/</a>"
but it gives "Forbidden"</p>

<p>Forthermore, i tried to use easybitcoin.php (<a href="https://github.com/aceat64/EasyBitcoin-PHP/blob/master/easybitcoin.php" rel="nofollow">https://github.com/aceat64/EasyBitcoin-PHP/blob/master/easybitcoin.php</a>),
but also the same like "HTTP_FORBIDDEN" "403"</p>

<p>Can you give me any advices?</p>

CC BY-SA 3.0
2015-06-14T10:28:35.700Z
Just to check, you are attempting `http://user:password@192.168.33.33:8332/`?
Claris
CC BY-SA 3.0
2015-06-14T11:03:29.633Z
I tried , but the same, "Forbidden"
gano
<bitcoind><rpc-error-25>
bitcoind (JSON-RPC) returned HTTP 403 error, i don't know why
gano
# bitcoind (JSON-RPC) returned HTTP 403 error, i don't know why

(Asked by: username_0 on 2015-06-14)

I set up bitcoind in Ubuntu 14.04 and I requested "getinfo",
but returned HTTP 403 error "FORBIDDEN". I don't know why...

The environment is below..
・Ubuntu is installed in Virtualbox and bitcoind is installed in the Ubuntu.
・The Host OS is Mac OS.
・The Host OS and the gest OS (Ubuntu) is connected host only adapter.
(Host OS -> 10.0.2.2 Gest OS-> 192.168.33.33)

The bitcoin.conf is below

> server=1
>
> daemon=1
>
> rpcallowip = 10.0.2.0/24
>
> rpcuser=...
>
> rpcpassword=...
>
> rpcport=8332
>
> txindex=1
>
> keypool=100

From the browser, type "<http://rpcuser:rpcpassword@192.168.33.33:8332/>"
but it gives "Forbidden"

Forthermore, i tried to use easybitcoin.php (<https://github.com/aceat64/EasyBitcoin-PHP/blob/master/easybitcoin.php>),
but also the same like "HTTP\_FORBIDDEN" "403"

Can you give me any advices?

**Tags:** bitcoind, rpc-error-25

> **Comments:**
> **username_1**: Just to check, you are attempting `http://user:password@192.168.33.33:8332/`?  
> **username_0**: I tried , but the same, "Forbidden"  

---

## 1 answers

### Answer by username_2 on 2015-06-17. Score: 2

Your rpcallowip setting is 10.0.2.0, but you listed 10.0.2.2 as the host OS's IP. That could be your issue.


---

