Sun Java System Web Server 6.1 SP10 Administrator's Guide

Create Listen Socket

Use this option of the create command to create a listen socket.

Syntax

HttpServerAdmin create -l -ip ip_address -port port_number -sname 
server_name -id default_virtual_server [-sec security] 
[-acct number_of_accept_threads] -d server_root -sinst http_instance

Parameters

Use the parameters shown in Parameters with the create -l command option to create listen sockets.

Table A–6 Create listen socket parameters

Parameter  

Value  

-ip ip_address

The IP address for the listen socket. 

-port port_number

The port number for the listen socket. 

-sname server_name

The server name to associate with the listen socket. 

-id default_virtual_server

The ID of the default virtual server. This virtual server must exist before you can use it to create a listen socket. 

-acct number_of_accept_threads

(optional) The number of accept threads for the listen socket. 

-sec on

(optional) If specified, use on to enable security for the listen socket. If not specified, security is not enabled. 

Example

HttpServerAdmin create -l -id ls3 -ip 0.0.0.0 -port 1333 -sname 
austen -defaultvs vs2 -sec on -acct 4 -d /export/carey/server6 
-sinst https-austen.com