restart-http-listeners

Restarts all HTTP network listener of the targeted instance(s).

Synopsis

asadmin [asadmin-options] restart-http-listeners
[--help]
[--all={true|false}]
[target]

Description

The restart-http-listeners subcommand restarts an HTTP network listener of the targeted instance(s).

This command only restarts all HTTP listeners except admin-listener.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

--all

Applies the command to all instances. The default value is false.

Operands

target

Name of the target instance, deployment group or cluster to which restart the corresponding HTTP listeners.

Examples

Example 1 Restarting an HTTP Network Listener

The following command to restart all HTTP network listeners that belong to a particular instance named i1:

asadmin>restart-http-listeners i1
Command restart-http-listeners executed successfully.