Sun GlassFish Enterprise Server 2.1 Quick Start Guide

Viewing Ports for Clustered Server Instances

ProcedureTo View Ports for Clustered Server Instances

You can view the ports numbers and override the default values for the clustered server instance you created in the previous section, Creating a Cluster . By default, the HTTP ports are 38081 for instance1 and 38080 for instance2. If these ports were busy on your machine when you created these clusters, or if you had already assigned these ports to other instances and clusters, different port numbers were assigned.

To view the port numbers and optionally override the default values, follow these steps:

  1. In the left pane, expand Clusters and click cluster1 to display the General Information page for clusters.

  2. Click the Instances tab to display instance1 and instance2, the instances that you created.

    1. Click instance1 to examine this instance.

      The HTTP and HTTPS ports assigned to the instance are displayed in the HTTP Ports field. The SIP and SIPS Ports are displayed in the SIPS field.

Next Steps

In this section you have created a simple cluster on a single machine. You can also create clusters spanning multiple machines using the same basic steps (as long as you have the software installed and a node agent running on each machine).