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 :
ufw status
if result "inactive", then type :
ufw enable
then type "Y".
Then type :
ufw allow 2333/tcp
then try restart your cpuminer
On
ufw enable I get:
Firewall is active and enabled on system startup
On
ufw allow 2333/tcp I get:
Skipping adding existing rule
Skipping adding existing rule (v6)
But still when I run the ./minerd command I get:
[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