2.13.5 list-network-listeners
Lists the existing network listeners.
Synopsis
asadmin [asadmin-options] list-network-listeners [--help] [target]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-network-listeners subcommand of asadmin lists the existing network listeners. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- target
-
Restricts the listing to network listeners for a specified target.
Type: String
The following values can be specified:
-
server
Lists the network listeners for the default server instance. This is the default value.
-
configuration-name
Lists the network listeners for the specified configuration.
-
cluster-name
Lists the network listeners for all the server instances in the specified cluster.
-
instance-name
Lists the network listeners for the specified server instance.
Default value: server
-
Examples
The following command lists all the network listeners for the server instance.
asadmin list-network-listeners
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |