Post
Topic
Board Altcoin Discussion
Re: How exactly does a cpu miner work?
by
BlackHatCoiner
on 23/08/2020, 09:33:56 UTC
It seems that I'm not connected to localhost:2333, how can I verify or just know what is my RPC?
I think you must unlocked that tcp (local host connection) first.
Try these following steps (and for security purpose) as root :
Code:
ufw status
if result "inactive", then type :
Code:
ufw enable
then type "Y".
Then type :
Code:
ufw allow 2333/tcp

then try restart your cpuminer

On ufw enable I get:
Code:
Firewall is active and enabled on system startup

On ufw allow 2333/tcp I get:
Code:
Skipping adding existing rule
Skipping adding existing rule (v6)

But still when I run the ./minerd command I get:
Code:
[2020-08-23 12:33:10] HTTP request failed: Failed to connect to localhost port 2333: Connection refused
[2020-08-23 12:33:10] json_rpc_call failed, retry after 30 seconds