Home

Custom ports

You can configure Unravel to use custom ports instead of the default ports. This configuration can be set from the Unravel manager tool. Run the manager help config ports command to view the help for config ports.

Warning

If you set custom ports for ElasticSearch or Datastore, some Report features will not function.

To configure custom ports, do the following:

  1. Stop Unravel.

    <Unravel installation directory>/unravel/manager stop
  2. Display the list of ports and keys

    <Unravel installation directory>/unravel/manager config ports show
  3. Set the port using the following command with the port and port key.

    <Unravel installation directory>/unravel/manager config ports set <port key> <port>

    For example, if you run the following command, NGUI listens on port 1234.

    <Unravel installation directory>/unravel/manager config ports set /hosts/host_main/instances/ngui_1/config/port 1234

    Note

    • Run manager config ports unset <port key> command to return the ports to their default values.

      <Unravel installation directory>/unravel/manager config ports unset 1234
    • Run manager config ports remap to remap all the ports within a range.

      <Unravel installation directory>/unravel/manager config ports remap begin<specify start range> end<specify end range>

      For example, if you run the following command all the ports get remapped between 5000 and 6000

      <Unravel installation directory>/unravel/manager config ports remap 5000 6000
  4. Apply the changes.

    <Unravel installation directory>/unravel/manager config apply
  5. Start Unravel.

    <Unravel installation directory>/unravel/manager start