I have a testnet running and now want to attach ogmios server to the cardano node socket, so as to probe the blocks. The ogmios agent is compiled separately and now when i want to attach it to the socket using:

--node-config $BASE_CONFIG
--node-socket $SOCKET

I am getting the following output:

config is ./../../src/tconfig/testnet-config.json
socket is ./../state-node-shelly-testnet/node.socket
{"severity":"Warning","timestamp":"2021-10-29T20:47:04.921466233Z","thread":"4","message":{"tag":"OgmiosMetrics","metrics":{"recommendation":"run with '+RTS -T'"}},"version":"v4.0.0-59-gc02eeb5c"}
ogmios: Network.Socket.bind: resource busy (Address already in use)

I understand that cardano-node is using the socket and hence that error comes. But how then should ogmios work ?

1 Answer 1


ok. Later found that even if one runs the ogmios within a docker it actually attaches to the parent cardano-node process socket ! Strange. So only when i killed the docker process, then the host socket was free !

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.