<!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->
<!-- Describe the issue -->
When I'm trying to use bitcoin-cli while bitcoind running it displays error message :
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.```
<!--- What behavior did you expect? -->
running command : `bitcoin-cli getblockchaininfo`
<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->
` bitcoind -txindex `
```[...] 2023-02-17T18:03:20Z Bound to 127.0.0.1:8334
2023-02-17T18:03:20Z Bound to [::]:8333
2023-02-17T18:03:20Z Bound to 0.0.0.0:8333
[...] ```
<!--- How reliably can you reproduce the issue, what are the steps to do so? -->
I am on MacOS Ventura 13.1 intel i5 MacBook Pro.
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
`2023-02-17T18:03:07Z Bitcoin Core version v24.0.1 (release build)`
<!-- Any extra information that might be useful in the debugging process. -->
I saw a related issue few years ago and apparently this issue should to be patched.