Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

list-network-listeners

lists the existing network listeners

Synopsis

list-network-listeners [--help]
[target]

Description

The list-network-listeners subcommand lists the existing network listeners. This subcommand is supported in remote mode only.

Options

--help
-?

Displays the help text for the subcommand.

Operands

target

Restricts the listing to network listeners for a specified target. Valid values are as follows:

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 server instances in the specified cluster.

instance-name

Lists the network listeners for the specified server instance.

Examples

Example 1   Listing Network Listeners

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.

Exit Status

0

command executed successfully

1

error in executing the command

See Also

create-network-listener(1), delete-network-listener(1)

asadmin(1M)