To Edit a Network Listener

  1. In the navigation tree, expand the Configuration node.

  2. Under the Configuration node, expand the Network Config node.

  3. Under the Network Config node, select the Network Listeners node.

    The Network Listeners page opens.

  4. On the Network Listeners page, click the name of the network listener that you are editing.

    The Edit Network Listener page opens.

  5. Select the Protocol used by the network listener to change its settings. For example, you can enable security. You cannot choose a different protocol.

  6. Select or deselect the Status Enabled checkbox to change 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).

  7. The read-only Security Enabled checkbox indicates whether security is enabled for the protocol used by the network listener.

    If you are configuring the admin-listener for the domain administration server (DAS), which uses the server-config configuration, this option is read-only. To enable security for this listener, you must enable secure administration. See Secure Administration.

  8. Select the JK Listener Enabled checkbox to specify that 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.

  9. In the Port field, type the port number on which the network 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.

  10. In the Address field, type 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.

  11. From the Thread Pool drop-down list, select the thread pool to be associated with the network listener.

  12. Click Save.


    Tip:

    To return to the default settings, click the Load Defaults button, then click Save.


Next Steps

You can use the SSL, HTTP, and File Cache tabs to edit the settings for the protocol associated with the network listener. The SSL tab is meaningful only if you enabled security for the protocol.

See Also
Copyright © 2005, 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices