Many older threads told me to only use Bitcoin Core 0.19.1
I am starting it with
./bitcoin-qt --server
my bitcoin.conf looks like this:
daemon=1
server=1
rpcuser=(username)
rpcpassword=(password)
rpcallowip=127.0.0.1
prcport=(port)
I tried many different ports and many different username/password variations in the .conf and cgminer.
I once tried running bitcoind it via
sudo ./bitcoind --server
which starts just fine and then prints "wrong password attempt" or something like that in the log terminal window when I start cgminer with the correct rpc user/pass. Wrong password - but it's the correct one. Weird.
I start cgminer like this:
sudo ./cgminer -o
http://127.0.0.1:(port) -u (username) -p (password) --btc-address (address)
Starting it wouthout sudo gives me a permission error on my mining devices.
What am I doing wrong? The username and password I use for cgminer are 100% the same as in the bitcoin.conf.
Thanks in advance for every kind help I can get!
Edit:
When starting bitcoin core via
sudo ./bitcoind -server -rpcuser=(user) -rpcpassword=(password)
(Starting it via sudo is the only way for me to see the live log in terminal.)
Then quitting it again via
sudo ./bitcoin-cli -rpcuser=(user) -rpcpassword=(password) -stop
it accepts the user/pass combination just fine, prints "Shutdown: In progress..." in the terminal window and quits after a few seconds.
There must be something wrong here with cgminer, right?