user-1: I am attempting to make Bitcoin-RPC commands in the Windows 10 terminal using Bitcoind from the Bitcoin Core. However, whenever I start C:\Program Files\Bitcoin\daemon>bitcoind the terminal hangs and doesn't print anything. I've waited several hours and the terminal keeps loading and doesn't allow any input. I've also tried typing C:\Program Files\Bitcoin\daemon>bitcoind -daemon but -daemon is not valid Windows command.
I've also tried querying Bitcoin-cli with C:\Program Files\Bitcoin\daemon>bitcoin-cli getinfo but I get the error:
C:\Program Files\Bitcoin\daemon>bitcoin-cli getinfo
error: couldn't connect to server: EOF reached (code 1)
(make sure server is running and you are connecting to the correct RPC port)

So, after researching and reading other Stack Overflow questions I decided to check my bitcoin.conf file. I didn't have one, so I created one and placed it in the C:\Users\User\AppData\Roaming\Bitcoin directory. My bitcoin.conf file looks like:
rpcuser=user
rpcpassword=pass
rpcallowip=127.0.0.1
rpcport=8332 
rpcthreads=10 
server=1

But i'm still getting the same errors. Does anyone have any idea on what i'm doing wrong?

Update: 
I typed in tasklist into the windows terminal and bitcoind.exe and Clientcore were running. Then I typed :C:\Program Files\Bitcoin\daemon>bitcoin-cli -rpcuser=user -rpcpassword=pass -rpc
port=8332 getinfo, but got another error:
error code: -28
error message:
Verifying blocks...


Update:
I tried C:\Program Files\Bitcoin\daemon>bitcoin-cli -rpcuser=user -rpcpassword=pass -rpc
port=8332 getinfo again a couple minutes later and it worked.
I opened one terminal and ran bitcoind, and another terminal I make the getinfo command and everything works

user30017: try this:
bitcoin-cli -rpcuser=user -rpcpassword=pass -rpcport=8332 getinfo
also make sure bitcoind is running, you can do that by
ps -aux | grep bitcoind

-1: <p>I am attempting to make Bitcoin-RPC commands in the Windows 10 terminal using Bitcoind from the Bitcoin Core. However, whenever I start <code>C:\Program Files\Bitcoin\daemon&gt;bitcoind</code> the terminal hangs and doesn't print anything. I've waited several hours and the terminal keeps loading and doesn't allow any input. I've also tried typing <code>C:\Program Files\Bitcoin\daemon&gt;bitcoind -daemon</code> but <code>-daemon</code> is not valid Windows command.</p>

<p>I've also tried querying Bitcoin-cli with <code>C:\Program Files\Bitcoin\daemon&gt;bitcoin-cli getinfo</code> but I get the error:</p>

<pre><code>C:\Program Files\Bitcoin\daemon&gt;bitcoin-cli getinfo
error: couldn't connect to server: EOF reached (code 1)
(make sure server is running and you are connecting to the correct RPC port)
</code></pre>

<p>So, after researching and reading other Stack Overflow questions I decided to check my bitcoin.conf file. I didn't have one, so I created one and placed it in the <code>C:\Users\User\AppData\Roaming\Bitcoin</code> directory. My bitcoin.conf file looks like:</p>

<pre><code>rpcuser=user
rpcpassword=pass
rpcallowip=127.0.0.1
rpcport=8332 
rpcthreads=10 
server=1
</code></pre>

<p>But i'm still getting the same errors. Does anyone have any idea on what i'm doing wrong?</p>

<hr>

<p><b>Update:</b> </p>

<p>I typed in <code>tasklist</code> into the windows terminal and bitcoind.exe and Clientcore were running. Then I typed :<code>C:\Program Files\Bitcoin\daemon&gt;bitcoin-cli -rpcuser=user -rpcpassword=pass -rpc
port=8332 getinfo</code>, but got another error:</p>

<pre><code>error code: -28
error message:
Verifying blocks...
</code></pre>

<hr>

<p><b>Update:</b></p>

<p>I tried <code>C:\Program Files\Bitcoin\daemon&gt;bitcoin-cli -rpcuser=user -rpcpassword=pass -rpc
port=8332 getinfo</code> again a couple minutes later and it worked.</p>

<p>I opened one terminal and ran bitcoind, and another terminal I make the getinfo command and everything works</p>
 30017: <p>try this:</p>

<p><code>bitcoin-cli -rpcuser=user -rpcpassword=pass -rpcport=8332 getinfo</code></p>

<p>also make sure bitcoind is running, you can do that by<br>
<code>ps -aux | grep bitcoind</code></p>
