Sun Java System Web Server 7.0 Update 2 Administrator's Guide

Configuring HTTP Listeners

The Server accepts the HTTP requests via an HTTP Listener before forwarding the request to the configured Virtual Server. This page allows you to add and configure HTTP Listeners.

HTTP Listeners must have a unique combination of port number and IP address. You can use either IPv4 or IPv6 addresses. Setting the IP address to “*” creates an HTTP Listener that listens on all IP addresses on that port.

Creating a HTTP Listener

You can create a new HTTP Listener for a Virtual Server for processing incoming HTTP requests performing the following steps:

  1. Click Virtual Servers tab under Configurations tab.

  2. Click HTTP Listeners sub tab to view the list of configured HTTP Listeners.

  3. Click New button to pop up a wizard page for creating a new HTTP Listener.

Provide the following information in the wizard page.


Note –

Using CLI

For creating a HTTP Listener through CLI, execute the following command.


wadm> create-http-listener --user=admin --password-file=admin.pwd --host=serverhost 
--port=8989 --listener-port=18003 --config=config1 --server-name=config1.com 
--default-virtual-server-name=config1_vs_1 config1_ls_1

See CLI Reference, create-http-listener(1).


Configuring Your HTTP Listener

You can edit the existing HTTP Listener settings by performing the following tasks:

  1. Click Virtual Servers tab under a Server Configuration, for editing an existing HTTP Listener setting.

  2. Click HTTP Listeners sub tab to view the list of configured HTTP Listeners

  3. Under the Listener Name table column, click HTTP Listener you need to edit the setting.

You can edit both the general and security related settings for the HTTP Listener.

Modifying HTTP Listener Parameters

Click General tab to edit basic and advanced HTTP Listener settings. Configure the following options:

Select the Configure Advanced Settings option under the Advanced section to edit HTTP Listener advanced settings. Configure the following options: