If you see an error that says EHOSTUNREACH, it could be that you are having internet issues. You can quickly check if this is the case by calling netcheck
command. Command netcheck
will find out the root cause of connection errors more quickly. It is checking minerstat servers, name servers, host files, and local gateway and summarizes them into three categories.