0

When I give the following command I get an error after a LONG lag (maybe 15-20 minutes):

~: bitcoin-cli getblockchaininfo
error: couldn't connect to server

Why?

    0

    Are you doing that remotely? if so please make sure that your port is open.

    sudo ufw allow 8333
    

    Also can you provide us with the last a few lines of debug.log file.

      Your Answer

      By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

      Not the answer you're looking for? Browse other questions tagged or ask your own question.