Bitcoin-Standup-Scripts icon indicating copy to clipboard operation
Bitcoin-Standup-Scripts copied to clipboard

bitcoin-cli not working when not logged in as standup

Open icculp opened this issue 3 years ago • 0 comments

After running the standup script with default options (pruned testnet), latest block height was correct. Problem I ran into was that the readme in the Bitcoin-Standup-Scripts repo has you log in as root, so when I was trying to run bitcoin-cli it was giving me "error: Could not connect to the server 127.0.0.1:8332", looking for bitcoind running on the default mainnet port. Since bitcoind was running as the user standup with a custom .conf file (specifying testnet on port 18332) it wasn't reading from the same .conf file I guess. It worked fine when changing user back to standup

icculp avatar Jul 14 '21 04:07 icculp