<p>Hello i have been running Bitcoind and Dogecoind for more than 2 month and all has been working great but today bitcoind has stopped working </p>

<p>I am receiving the error:</p>

<pre><code>Warning: fopen(http://...@127.0.0.1:3333/): failed to open stream: Connection refused
Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://bitcoin:pass@127.0.0.1:3333/' in /script/jsonRPCClient.php:140
</code></pre>

<p>I have disabled firewall but still am receiving the error</p>

<p>Bitcoin.conf</p>

<pre><code>server=1
daemon=1
rpcuser=user
rpcpassword=pass
rpcport=3333
port=3334
txindex=1
</code></pre>

<p>Thanks</p>

CC BY-SA 3.0
2015-10-29T18:29:01.377Z
Any chance the port 3333 is closed? Also what happens if you try navigating to the URL that is in the error?
Charles S
CC BY-SA 3.0
2015-10-29T18:47:00.367Z
I switch iptables policy to ACCEPT but not work. With url i have 'ERR_CONNECTION_REFUSED' message. I tested with other port but nothing `fopen(http://...@127.0.0.1:3633/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
 in /example.com/jsonRPCClient.php on line 132`
soooo
CC BY-SA 3.0
2015-10-29T20:17:52.890Z
i think the probleme is from sendtoaddress() because getnewaddress() work
soooo
CC BY-SA 3.0
2015-10-29T21:24:44.850Z
Humor me and try typing "curl http://user:pass@127.0.0.1:3333/" and let me know what you receive.
Charles S
CC BY-SA 3.0
2015-10-29T23:16:41.700Z
There's probably something relevant in your `debug.log` file.  Have you checked?
Nate Eldredge
CC BY-SA 3.0
2015-10-30T15:32:50.147Z
Thanks for reply all, i installed new version and reindex chain and now all work fine
soooo
CC BY-SA 3.0
2015-12-24T09:33:24.830Z
Problem is not stated clearly enough to be answered, also asker has resolved his problem and probably isn’t interested anymore. Placing it on hold.
Murch
<bitcoind><json-rpc><server>
Bitcoind stopped working
soooo
# Bitcoind stopped working

(Asked by: username_0 on 2015-10-29)

Hello i have been running Bitcoind and Dogecoind for more than 2 month and all has been working great but today bitcoind has stopped working

I am receiving the error:

```
Warning: fopen(http://...@127.0.0.1:3333/): failed to open stream: Connection refused
Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://bitcoin:pass@127.0.0.1:3333/' in /script/jsonRPCClient.php:140

```

I have disabled firewall but still am receiving the error

Bitcoin.conf

```
server=1
daemon=1
rpcuser=user
rpcpassword=pass
rpcport=3333
port=3334
txindex=1

```

Thanks

**Tags:** bitcoind, json-rpc, server

> **Comments:**
> **username_1**: Any chance the port 3333 is closed? Also what happens if you try navigating to the URL that is in the error?  
> **username_0**: I switch iptables policy to ACCEPT but not work. With url i have 'ERR_CONNECTION_REFUSED' message. I tested with other port but nothing `fopen(http://...@127.0.0.1:3633/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error  in /example.com/jsonRPCClient.php on line 132`  
> **username_0**: i think the probleme is from sendtoaddress() because getnewaddress() work  
> **username_1**: Humor me and try typing "curl http://user:pass@127.0.0.1:3333/" and let me know what you receive.  
> **username_2**: There's probably something relevant in your `debug.log` file.  Have you checked?  
> **username_0**: Thanks for reply all, i installed new version and reindex chain and now all work fine  
> **username_3**: Problem is not stated clearly enough to be answered, also asker has resolved his problem and probably isn’t interested anymore. Placing it on hold.  

---

## 0 answers

