After not running Bitcoin core, I got by running it:
The configuration file is as follows:
# server=1 tells Bitcoin-QT to accept JSON-RPC commands.
server=1
# You must set rpcuser and rpcpassword to secure the JSON-RPC api
rpcuser=user
rpcpassword=password
According to recommendations from other posts, I added this to the config file
# added
rpcallowip=0.0.0.0/0
rpcbind=127.0.0.1
rpcbind=bitcoind
But that didn’t help.
The log file is following
2022-10-28T21:02:52Z Binding RPC on address 127.0.0.1 port 8332 failed.
2022-10-28T21:02:54Z libevent: getaddrinfo: nodename nor servname provided, or not known
2022-10-28T21:02:54Z Binding RPC on address bitcoind port 8332 failed.
2022-10-28T21:02:54Z Unable to bind any endpoint for RPC server
2022-10-28T21:02:54Z Error: Unable to start HTTP server. See debug log for details.
2022-10-28T21:02:58Z Shutdown: In progress...
2022-10-28T21:02:58Z scheduler thread exit
2022-10-28T21:02:58Z Shutdown: done
What else can I do?
Discover more from Earlybirds Invest
Subscribe to get the latest posts sent to your email.