mix dala.port (dala_dev v0.4.0)

Copy Markdown View Source

Prints which host ports belong to which device, and flags processes that are squatting on them.

mix dala.port                # table: device → dist / LV ports + status
mix dala.port --kill         # kill any process squatting on a needed port
mix dala.port --json         # machine-readable

Ports covered:

  • 4369 EPMD — shared by every device on this host
  • 9100+ dist — one per device (index order matches the deployer)
  • LiveView — hashed from the app name in [4200..4999]

A "listening" row is normal when the owning app/BEAM is alive; it's a problem when the owner is dead or wrong (stale iproxy, previous app instance). --kill frees those so the next deploy can bind.