Use the Edit Network Listener page to modify an existing network listener.
When you edit a network listener, the SSL, HTTP, and File Cache tabs for the associated protocol are available for you to edit as well.
The Edit Network Listener page contains the following options.
Button to restore the default values of all the settings.
The unique listener name. The Name field is a read-only field. You can only specify the name when you create a new network listener.
The protocol associated with the network listener. The Protocol field is a read-only field. You can create or specify a protocol only when you create a new network listener.
The status of the network listener. The listener can be enabled or disabled. This option is enabled by default. If the listener is disabled, any attempts to connect to the listener result in a socket exception (java.net.ConnectException).
In GlassFish Server versions prior to 9.1, a listener whose enabled attribute was set to false returned a 404 response code for any requests sent to it. To achieve this behavior in the current GlassFish Server version, set the listener's status to enabled, and set every associated virtual server's state to OFF. A virtual server lists its associated listeners in its Network Listeners drop-down list.
If this option is selected, is enabled for the protocol used by the network listener. This option is disabled by default.
If this option is selected, the listener supports Apache's mod-jk protocol. The mod-jk protocol is a proprietary communication/network protocol between Apache's httpd (web server) and an GlassFish Server back-end instance. If the listener supports this protocol, httpd is supposed to handle all static content, whereas any requests for dynamic resources (i.e., Servlets and JSPs) are routed to the mod-jk enabled network listener of the GlassFish Server, using the mod-jk protocol. This option is disabled by default.
The port number on which the listener will listen. Legal values are 1 through 65535. On a UNIX system, creating sockets that listen on ports 1 through 1024 requires superuser privileges.
The IP address on which the network listener will listen. The address can be in dotted-pair or IPv6 notation. It can be any (for INADDR_ANY) to listen on all IP addresses. It can be a hostname.
The thread pool associated with the network listener.
The type of transport for the network listener. By default, the only transport is tcp.