<p><code>bitcoind</code> by default runs with the RPC server enabled. <code>bitcoin-qt</code> has it off by default, but it can be enabled by adding the <code>-server</code> command line argument.</p>

CC BY-SA 4.0
2022-04-18T05:02:56.487Z
Where do you add -server. Can you please be more specific?
Armen M.
CC BY-SA 4.0
2022-04-18T13:03:46.610Z
You add it on the command line; where that goes specifically depends on the operating system and the way you start it. One possibility is opening a shell, and then typing "bitcoin-qt -server" or "./bitcoin-qt -server" or "bitcoin-qt.exe -server". If you have a UI with an icon to click to start it, there is usually a way to edit the command line it uses too.
Pieter Wuille
CC BY-SA 4.0
2022-04-19T18:58:44.003Z
Thank you Pieter for your reply. I tried and bitcoin-qt.exe -server worked :)   Can I ask another quick off topic question. Do you know how to set up solo bitcoin mining on windows with BFGMiner? My miners are S19j pro (Asics).
Armen M.
CC BY-SA 4.0
2022-04-19T19:06:43.653Z
That's a separate question; you should search for existing answers or ask a new question. I don't know anything about mining.
Pieter Wuille
CC BY-SA 4.0
2022-04-17T04:36:28.433Z
2022-04-17T04:36:28.433Z
Pieter Wuille
<p>How can I run a Bitcoin Client in a server mode. Can someone provide step-by-step directions on how to do that?</p>
<p>Thank you</p>

CC BY-SA 4.0
2022-04-15T20:37:09.630Z
What does "server mode" mean? Are you referring to the RPC server?
Pieter Wuille
CC BY-SA 4.0
2022-04-17T03:16:29.270Z
Yes, I mean RPC server.
Armen M.
<bitcoind><solo-mining>
How to run Bitcoin client in Server mode
Armen M.
# How to run Bitcoin client in Server mode

(Asked by: username_0 on 2022-04-15)

How can I run a Bitcoin Client in a server mode. Can someone provide step-by-step directions on how to do that?

Thank you

**Tags:** bitcoind, solo-mining

> **Comments:**
> **username_1**: What does "server mode" mean? Are you referring to the RPC server?  
> **username_0**: Yes, I mean RPC server.  

---

## 1 answers

### Answer by username_1 on 2022-04-17. Score: 1

`bitcoind` by default runs with the RPC server enabled. `bitcoin-qt` has it off by default, but it can be enabled by adding the `-server` command line argument.

> **Comments:**
> **username_0**: Where do you add -server. Can you please be more specific?  
> **username_1**: You add it on the command line; where that goes specifically depends on the operating system and the way you start it. One possibility is opening a shell, and then typing "bitcoin-qt -server" or "./bitcoin-qt -server" or "bitcoin-qt.exe -server". If you have a UI with an icon to click to start it, there is usually a way to edit the command line it uses too.  
> **username_0**: Thank you Pieter for your reply. I tried and bitcoin-qt.exe -server worked :)   Can I ask another quick off topic question. Do you know how to set up solo bitcoin mining on windows with BFGMiner? My miners are S19j pro (Asics).  
> **username_1**: That's a separate question; you should search for existing answers or ask a new question. I don't know anything about mining.  

---

