ord icon indicating copy to clipboard operation
ord copied to clipboard

error: error sending request for url (http://127.0.0.1/blockcount): (os error 10061)

Open aqfaridi opened this issue 10 months ago • 7 comments

E:\ord-0.16.0>ord --cookie-file="E:\data.cookie" --bitcoin-data-dir="E:\data" wallet balance error: error sending request for url (http://127.0.0.1/blockcount): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061) because: error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061) because: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061) because: No connection could be made because the target machine actively refused it. (os error 10061)

aqfaridi avatar Mar 29 '24 14:03 aqfaridi

you need to start server first with ord server --http-port 8080 then use --server-url http://localhost:8080 in the wallet balance command

sherpya avatar Mar 29 '24 17:03 sherpya

E:\ord-0.16.0>ord --cookie-file="E:\data.cookie" --bitcoin-data-dir="E:\data" --server-url http://0.0.0.0:8080 wallet balance

error: unexpected argument '--server-url' found

aqfaridi avatar Apr 01 '24 12:04 aqfaridi

E:\ord-0.16.0>ord --cookie-file="E:\data.cookie" --bitcoin-data-dir="E:\data" --server-url http://0.0.0.0:8080 wallet balance

error: unexpected argument '--server-url' found

you are right, there is the option server_url in the yaml config file I thought a similar (but with dash) option would be in the command line, so you need to find where on windows ord.yaml is located (you need to create a new one) and put in: server_url: http://localhost:8080 or just use ord --config ord.yaml

sherpya avatar Apr 01 '24 12:04 sherpya

ok I found it you need to use use the option after wallet, e.g.: ord wallet --server-url http://127.0.0.1:8080 balance

sherpya avatar Apr 01 '24 12:04 sherpya

hi guys what about this one ord wallet balance error: error sending request for url (http://127.0.0.1/blockcount): error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061) because: error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061) because: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061) because: No connection could be made because the target machine actively refused it. (os error 10061)

abdelhamidelkhouider avatar Apr 17 '24 14:04 abdelhamidelkhouider

@bingryan

abdelhamidelkhouider avatar Apr 17 '24 14:04 abdelhamidelkhouider

Seems like a firewall issue or you are not running ord server

raphjaph avatar Apr 22 '24 19:04 raphjaph