Author

Topic: Start Mining (Read 200 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
April 08, 2019, 08:24:13 PM
#2
The default RPC port is 8332, not 8339. Do you have your bitcoind configured to use port 8339?
newbie
Activity: 1
Merit: 0
April 08, 2019, 04:40:25 PM
#1
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
Jump to: