Bitcoin Forum
May 26, 2024, 01:46:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Start Mining  (Read 173 times)
sbitx (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 08, 2019, 09:40:25 PM
Last edit: April 08, 2019, 09:55:31 PM by sbitx
 #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
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6657


Just writing some code


View Profile WWW
April 09, 2019, 01:24:13 AM
 #2

The default RPC port is 8332, not 8339. Do you have your bitcoind configured to use port 8339?

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!