|Oracle GlassFish Server Reference Manual
Part Number E24938-01
lists the existing network listeners
list-network-listeners [--help] [target]
list-network-listeners subcommand lists the existing network listeners. This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
Restricts the listing to network listeners for a specified target. Valid values are as follows:
Lists the network listeners for the default server instance. This is the default value.
Lists the network listeners for the specified configuration.
Lists the network listeners for all server instances in the specified cluster.
Lists the network listeners for the specified server instance.
The following command lists all the network listeners for the server instance:
asadmin> list-network-listeners admin-listener http-listener-1 https-listener-2 Command list-network-listeners executed successfully.
command executed successfully
error in executing the command