Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Troubleshooting Guide

- Previous: Did the Server Start?
- Next: Accessing Remote Server Fails

### Description

The server might be running at a different port number than expected, either because it was intentionally installed there, or because another server was already running on the default port when the server was installed.

#### To determine which port number the server is actually using

##### Steps

1. Examine the server's configuration file:

       install_dir/domains/domain1/config/domain.xml

2. Find the `http-listener` element.

3. Inspect the value of the `port` attribute.

   Be sure to enter the correct port number when invoking the server.

   Note –

   The `server's` default port number is `8080`, however, there are a number of ways in which the expected value can change:

   - A different port number was specified during installation.

   - A previous installation exists.

   - If the specified port number is already taken by another application when the server is started, the port number rolls forward to the next available number. For example, if a server is already running on the default `8080` port, the new Application Server instance uses port number `8081`. If two servers are running, the port number rolls to `8082`, and so on.

- Previous: Did the Server Start?
- Next: Accessing Remote Server Fails

- © 2010, Oracle Corporation and/or its affiliates