Use the list-http-listeners subcommand or the list-network-listeners subcommand in remote mode to list the existing HTTP listeners.
Ensure that the server is running.
Remote subcommands require a running server.
List HTTP listeners by using the list-http-listeners(1) or list-network-listeners(1) subcommand.
This example lists the HTTP listeners. The same output is given if you use the list-network-listeners subcommand.
asadmin> list-http-listeners admin-listener http-listener-2 http-listener-1 Command list-http-listeners executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help list-http-listeners or asadmin help list-network-listeners at the command line.