<p>Im trying to open bitcoin core withthe command
bitcoind -daemon</p>
<p>My node is working perfectly with GUI
But When trying to run bitcoind -daemon</p>
<p>error: Could not connect to the server
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.</p>
<hr />
<p>Any help?
For some reason its showing i am in Prune mode?
Im not sure if this is the cause of the error if so please instruct me to fix this
Cheers</p>

CC BY-SA 4.0
2021-01-28T18:22:48.347Z
You should be using bitcoin-cli to connect to bitcoind. Can you also post your `debug.log`  file?
sanket1729
CC BY-SA 4.0
2021-01-28T23:20:04.087Z
I have changed the bitcoin.conf file to prune=0 to correct the error tho now im getting this error trying to restard of prune mode. 

You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain.
Please restart with -reindex or -reindex-chainstate to recover.
Error: Error opening block database



Any help here ?
COINAU
CC BY-SA 4.0
2021-01-30T16:39:19.080Z
Are you trying to run the GUI and `bitcoind` at the same time? How are you running the RPC client? Is the GUI running with `-server`? There are a lot of relevant details missing here.
Pieter Wuille
<full-node>
bitcoind -daemon command error
COINAU
# bitcoind -daemon command error

(Asked by: username_0 on 2021-01-28)

Im trying to open bitcoin core withthe command
bitcoind -daemon

My node is working perfectly with GUI
But When trying to run bitcoind -daemon

error: Could not connect to the server
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.

---

Any help?
For some reason its showing i am in Prune mode?
Im not sure if this is the cause of the error if so please instruct me to fix this
Cheers

**Tags:** full-node

> **Comments:**
> **username_1**: You should be using bitcoin-cli to connect to bitcoind. Can you also post your `debug.log`  file?  
> **username_0**: I have changed the bitcoin.conf file to prune=0 to correct the error tho now im getting this error trying to restard of prune mode.   You need to rebuild the database using -reindex to go back to unpruned mode.  This will redownload the entire blockchain. Please restart with -reindex or -reindex-chainstate to recover. Error: Error opening block database    Any help here ?  
> **username_2**: Are you trying to run the GUI and `bitcoind` at the same time? How are you running the RPC client? Is the GUI running with `-server`? There are a lot of relevant details missing here.  

---

## 0 answers

