Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo List HTTP Listeners

The remote list-http-listeners command enables you to list the existing HTTP listeners.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. List HTTP listeners by using the list-http-listeners(1) command.


Example 8–2 Listing HTTP Listeners

The following example command lists the HTTP listeners on localhost:


asadmin list-http-listeners

Information similar to the following is displayed:


sampleListener
admin-listener
http-listener-2
http-listener-1
Command list-http-listeners executed successfully.

See Also

To see the full syntax and options of the command, type asadmin list-http-listeners -help at the command line.