The remote create-http-listener command enables you to create an HTTP listener.
Ensure that the server is running.
Remote commands require a running server.
Create an HTTP listener by using the create-http-listener(1) command.
To apply your changes, restart Enterprise Server.
Stop Enterprise Server.
For instructions, see To Stop a Domain (or Server).
Start Enterprise Server.
For instructions, see To Start a Domain (or Server).
The following example command creates an HTTP listener named sampleListener that uses a non-default number of acceptor threads. Security is not enabled at runtime.
asadmin create-http-listener --listeneraddress 0.0.0.0 --listenerport 7272 --defaultvs server --servername host1.sun.com --acceptorthreads 100 --securityenabled=false --enabled=false sampleListener |
Information similar to the following is displayed:
Command create-http-listener executed successfully. |
To see the full syntax and options of the command, type asadmin help create-http-listener at the command line.