Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: sbitx on April 08, 2019, 09:40:25 PM



Title: Start Mining
Post by: sbitx on April 08, 2019, 09:40:25 PM
Can anyone please explain me, how do i connect my bitcoin core by terminal and connect. whith bitcoin-cli

I have done

sytemctl start bitcoin

then i've made

bitcoin-cli getinfo

but it returns this error

bitcoin-cli -rpcconnect=127.0.0.1 -rpcport=8339 -rpcuser=*** -rpcpassword=*** -getinfo
error: Could not connect to the server 127.0.0.1:8339

Make sure the bitcoind server is running and that you are connecting to the correct RPC port.

Can u specifie my how i can run server daemon and bitcoin-cli on terminal


Title: Re: Start Mining
Post by: achow101 on April 09, 2019, 01:24:13 AM
The default RPC port is 8332, not 8339. Do you have your bitcoind configured to use port 8339?