Hook command 'open-port'

The information in this doc is based on Juju version 3.5.6, and may not accurately reflect other versions of Juju.

Summary

Register a request to open a port or port range.

Usage

open-port [options] <port>[/<protocol>] or <from>-<to>[/<protocol>] or icmp

Options

Flag Default Usage
--endpoints a comma-delimited list of application endpoints to target with this operation
--format deprecated format flag

Details

open-port registers a request to open the specified port or port range.

By default, the specified port or port range will be opened for all defined application endpoints. The --endpoints option can be used to constrain the open request to a comma-delimited list of application endpoints.