Skip to content

How to use Ogmios in a private testnet? #222

Answered by rhyslbw
Et9797 asked this question in Q & A
Discussion options

You must be logged in to vote

Any idea what may be the culprit?

The port mapping was invalid since Ogmios was being started on the default 1337. The following would work:

docker run --rm \
   --name ogmios \
   -p 1338:1337 \
   -v ${PWD}/private-testnet:/testnet \
   cardanosolutions/ogmios:latest \
     --node-socket /testnet/node-bft1/node.sock \
     --node-config /testnet/configuration.yaml \
     --host 0.0.0.0

or

docker run --rm \
   --name ogmios \
   -p 1338:1338 \
   -v ${PWD}/private-testnet:/testnet \
   cardanosolutions/ogmios:latest \
     --node-socket /testnet/node-bft1/node.sock \
     --node-config /testnet/configuration.yaml \
     --host 0.0.0.0 \
     --port 1338

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rhyslbw
Comment options

Answer selected by KtorZ
Comment options

You must be logged in to vote
2 replies
@Et9797
Comment options

@AngelCastilloB
Comment options

Comment options

You must be logged in to vote
1 reply
@Et9797
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q & A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #221 on June 09, 2022 06:43.