CLI reference / host / local / port

stado host local port

Invocation

stado host local port

Purpose

A port nobody chooses: binds a free loopback port the host's own system hands out, releases it and prints its number, so `service ensure` records a catalog service's port and `service directory consumer add` a resolver adapter's in the registry

Required inputs and options

This command has no command-specific inputs or options.

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.