How do I spin up the navigator on a different port instead of the default 4000 when using the daml ledger navigator command?
2 Likes
daml ledger navigator passes all additional arguments down to the underlying daml navigator command. This is a bit tricky here since daml ledger navigator also takes a --port flag itself which specifies the port of the ledger while daml navigator takes a --port flag that specifies the port of Navigator.
- If you already have a
--portflag, you can add the Navigator port as a second flag viadaml ledger navigator --host ledgerhost --port ledgerport --port navigatorport. - If you don’t have a
--portflag, you need to add a bit of--to make sure thatdaml ledger navigatorpasses the--portflag down instead of interpreting it itself. Somewhat confusingly you need two here sodaml ledger navigator -- -- --port navigatorportworks. I’ll see if we can make that a bit less confusing.
5 Likes
Missed opportunity to call it a “dash of --”
2 Likes