Checking the server port number

To run Rule Execution Server, Decision Center, and other applications on the sample server, you must make sure that the port number is correct.

About this task

You must use the correct port number in the URLs. For example, when the documentation indicates the URL http://localhost:<PORT>/teamserver you must replace <PORT> with the value that is used by your server.

The default port number for the sample server is 9090. Make sure this port is available on your machine before running the sample server. If need be, you can use another port number.

Procedure

  1. If port 9090 is in use, try to stop the application running on the port before running the sample server.
  2. If you cannot stop the application that is running on port 9090, you can change the port number of the sample server before you run the server:
    1. Set the property server.port to another port number in <Install Dir>/shared/samplesServer/wlp/build.properties.
    2. Set the property httpPort to the new port number in the file <Install Dir>/shared/samplesServer/wlp/server.xml.

      You can then start the server with the usual procedure, as described previously.

      You must now use the new port number in the URLs that access the sample server. For example, if the port number is now 9091, you must add this value to the URLs of the applications that run on the sample server:

      • Rule Execution Server Rule Execution Server: http://localhost:9091/res
      • Decision Center Decision Center Enterprise console: http://localhost:9091/teamserver
      • Decision Center Business console: http://localhost:9091/decisioncenter