Bitcoin Forum
November 10, 2024, 12:35:58 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Do I need rpcport=8332 in bitcoin.conf?  (Read 142 times)
dragospirvu75x (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 25


View Profile
July 14, 2022, 02:56:04 PM
Merited by NotATether (3), pooya87 (1), ABCbits (1)
 #1

Hello! Do I need rpcport=8332 and rpcauth in my bitcoin.conf? Or this is only if I want to use tor?
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
July 14, 2022, 03:35:48 PM
Merited by pooya87 (2), ABCbits (2), NotATether (2)
 #2

Hello! Do I need rpcport=8332 and rpcauth in my bitcoin.conf? Or this is only if I want to use tor?

This is used when you want to use any RPC client which will connect to your node (some scripts or for example electrum server).
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#JSON-RPC
Then you may authenticate with username/password, or if you have all locally on one machine, you may use authentication with .cookie file from server's directory.
dragospirvu75x (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 25


View Profile
July 14, 2022, 03:59:56 PM
 #3

Okay, thanks for the answer but it's too technical for me. If I want to run a full node to help the network, do I need to add these lines or it's enough server=1 and listen=1?
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1385


View Profile
July 14, 2022, 04:00:59 PM
 #4

No, you do not need.
dragospirvu75x (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 25


View Profile
July 14, 2022, 04:15:56 PM
 #5

Okay, thanks for your help Smiley
NotATether
Legendary
*
Offline Offline

Activity: 1778
Merit: 7372


Top Crypto Casino


View Profile WWW
July 14, 2022, 04:50:35 PM
Merited by NeuroticFish (1), ABCbits (1)
 #6

rpcport=8332 is hardcoded as the default value if it is not specified in the Bitcoin.conf file, so you don't need to add this line if you want to enable the JSON-RPC interface (i.e. bitcoin-cli).

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
dragospirvu75x (OP)
Jr. Member
*
Offline Offline

Activity: 43
Merit: 25


View Profile
July 15, 2022, 01:48:55 PM
 #7

Okay, perfect
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!