<p>BFGminer needs to use stratum (bitcoin core doesn't)</p>

<p>Add --stratum-port=3333 to your bat file with 192.168.1.123:8333 then point your antminer at 192.168.1.123:3333</p>

<p>Ta. 3KMxGyAFJA9zFnaXfPEkrjoLozXcZz8FH4</p>

CC BY-SA 4.0
2019-08-21T01:25:26.943Z
2019-08-21T01:31:25.193Z
2019-08-21T01:31:25.193Z
Mike
<p>I setup BitcoinD on a Windows 7 PC.  I configured for defaults except user/pw and <code>rpcallowip=192.168.1.0/255.255.255.0</code>. I have also tried <code>192.168.1.*</code> with no luck.</p>
<p>I ultimately want to use an Antminer to connect to it for solo mining, but cannot use it for anything other than mining on the same computer on which it is running.</p>
<p>WORKING: using bfgminer with the following command line:</p>
<pre><code>bfgminer-5.0.0-win64\bfgminer-5.0.0-win64\bfgminer.exe -o 127.0.0.1:8332 -u rpcuser -p rpcpw
</code></pre>
<p>NOT WORKING:</p>
<pre><code>bfgminer-5.0.0-win64\bfgminer-5.0.0-win64\bfgminer.exe -o 192.168.1.123:8332 -u rpcuser -p rpcpw
</code></pre>
<p>The only difference is the IP address where 123 is my IP.</p>
<p>Error: &quot;json_rpc_call failed, retry after 30 seconds&quot;</p>
<p>I looked at firewall and it has entries for &quot;Bitcoin Core&quot;</p>
<p><code>netstat -a</code> output:</p>
<pre><code>0.0.0.0:8332
0.0.0.0:8333
127.0.0.1:8332
192.168.1.123:8333
</code></pre>
<p>Antminer says pool is dead.</p>
<p>How do I get another computer or Antminer, on my network, to connect for solo mining?</p>

CC BY-SA 3.0
2015-01-28T16:42:25.600Z
That is working better but what BFGminer is hashing on the same computer using the computer's IP address, it is giving these errors:
Stratum connect failed with TLS to pool 0: could not resolve host: 192.168.1.123
user23105
CC BY-SA 3.0
2015-01-28T16:55:46.720Z
With windows firewall off, I still cannot connect with Antminer.  Any suggestions would be appreciated.
user23105
<bitcoind><json-rpc><solo-mining><antminer>
json_rpc_call solo mining with bitcoin running on Windows 7 for antminer
user23105
# json_rpc_call solo mining with bitcoin running on Windows 7 for antminer

(Asked by: username_0 on 2015-01-26)

I setup BitcoinD on a Windows 7 PC.  I configured for defaults except user/pw and rpcallowip=192.168.1.0/255.255.255.0. I have also tried 192.168.1.* with no luck.
I ultimately want to use an Antminer to connect to it for solo mining, but cannot use it for anything other than mining on the same computer on which it is running.
WORKING: using bfgminer with the following command line:
bfgminer-5.0.0-win64\bfgminer-5.0.0-win64\bfgminer.exe -o 127.0.0.1:8332 -u rpcuser -p rpcpw

NOT WORKING:
bfgminer-5.0.0-win64\bfgminer-5.0.0-win64\bfgminer.exe -o 192.168.1.123:8332 -u rpcuser -p rpcpw

The only difference is the IP address where 123 is my IP.
Error: "json_rpc_call failed, retry after 30 seconds"
I looked at firewall and it has entries for "Bitcoin Core"
netstat -a output:
0.0.0.0:8332
0.0.0.0:8333
127.0.0.1:8332
192.168.1.123:8333

Antminer says pool is dead.
How do I get another computer or Antminer, on my network, to connect for solo mining?

**Tags:** bitcoind, json-rpc, solo-mining, antminer

> **Comments:**
> **username_0**: That is working better but what BFGminer is hashing on the same computer using the computer's IP address, it is giving these errors: Stratum connect failed with TLS to pool 0: could not resolve host: 192.168.1.123  
> **username_0**: With windows firewall off, I still cannot connect with Antminer.  Any suggestions would be appreciated.  

---

## 1 answers

### Answer by username_1 on 2019-08-21. Score: 0

BFGminer needs to use stratum (bitcoin core doesn't)

Add --stratum-port=3333 to your bat file with 192.168.1.123:8333 then point your antminer at 192.168.1.123:3333

Ta. 3KMxGyAFJA9zFnaXfPEkrjoLozXcZz8FH4


---

