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-http-listeners

lists the existing network listeners

Synopsis

list-http-listeners [--help]
[target]

Description

The list-http-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 netowork 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-http-listeners
http-listener-1
http-listener-2
admin-listener
Command list-http-listeners executed successfully.

Exit Status

0

command executed successfully

1

error in executing the command

See Also

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

asadmin(1M)