The information in this doc is based on Juju version 3.5.5, and may not accurately reflect other versions of Juju.
Summary
Register a request to close a port or port range.
Usage
close-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
close-port registers a request to close the specified port or port range.
By default, the specified port or port range will be closed for all defined application endpoints. The --endpoints option can be used to constrain the close request to a comma-delimited list of application endpoints.