<p>i have installed bitcoin node, it was syncing before i went to sleep, i want to know the percentage of the synced,  anytime i query on the bitcoin-cli getblockcount ,i get this error &quot;
error: timeout on transient error: Could not connect to the server 127.0.0.1:18332</p>
<p>Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
&quot; but  this is what i have in my bitcoin.conf file &quot;rpcport=18332
rpcallowip=127.0.0.1
&quot; would appreciate help</p>

CC BY-SA 4.0
2022-05-27T19:45:22.690Z
Is your `bitcoind` running? Is it on testnet?
Pieter Wuille
CC BY-SA 4.0
2022-05-27T21:50:14.920Z
it keeps saying this when i tried to run bitcoind "Error: Cannot obtain a lock on data directory /root/.bitcoin. Bitcoin Core is probably already running."
OluGuru
<json-rpc><connection>
Connection error
OluGuru
# Connection error

(Asked by: username_0 on 2022-05-27)

i have installed bitcoin node, it was syncing before i went to sleep, i want to know the percentage of the synced, anytime i query on the bitcoin-cli getblockcount ,i get this error "
error: timeout on transient error: Could not connect to the server 127.0.0.1:18332

Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
" but this is what i have in my bitcoin.conf file "rpcport=18332
rpcallowip=127.0.0.1
" would appreciate help

**Tags:** json-rpc, connection

> **Comments:**
> **username_1**: Is your `bitcoind` running? Is it on testnet?  
> **username_0**: it keeps saying this when i tried to run bitcoind "Error: Cannot obtain a lock on data directory /root/.bitcoin. Bitcoin Core is probably already running."  

---

## 0 answers

