ord icon indicating copy to clipboard operation
ord copied to clipboard

error trying to connect: tcp connect error: Connection refused (os error 111)

Open hedansun opened this issue 3 months ago • 5 comments

error trying to connect: tcp connect error: Connection refused (os error 111)

Please allow the rpc endpoint to connect, because the local node is also provided to other services.

hedansun avatar Mar 23 '24 14:03 hedansun

Please provide more information

raphjaph avatar Mar 23 '24 19:03 raphjaph

Please provide more information

https://github.com/ordinals/ord/issues/3337#issuecomment-2011379057

It is mentioned here to use .cookie files, but my local node uses rpc endpoint and user and pass login. Can the rpc endpoint use user password to log in and generate .cookie file?

hedansun avatar Mar 24 '24 04:03 hedansun

Please provide more information

./ord --config-dir . --bitcoin-rpc-user user --bitcoin-rpc-pass user --rpc-url http://127.0.0.1:8332 --data-dir . wallet balance

ord-0.15.0 Can work

ord-0.16.0 Not work

hedansun avatar Mar 24 '24 04:03 hedansun

use --bitcoin-rpc-url , not use --rpc-url . ord --help get more info.

bingryan avatar Mar 24 '24 08:03 bingryan

@raphjaph I have the same issue.

Local bitcoind running fine. Using curl command I can access RPC properly.

Created a wallet by using ord correct. then when trying to access wallet balance it always return back tcp error os error 111.

my command:

./ord --bitcoin-rpc-url http://127.0.0.1:8332 --bitcoin-rpc-username xxxx --bitcoin-rpc-password xxx wallet balance

nick07002 avatar Apr 12 '24 16:04 nick07002