Table of ContentsView in Frames

Changing the Snap Creator Agent port after installation

To change the port on which the Snap Creator Agent is listening, you can make a change in the Snap Creator agent.properties file and restart the agent.

About this task

The procedure for changing the Snap Creator Agent port is the same for Windows and UNIX. The following procedure uses examples from the UNIX environment.

Steps

  1. Log in to the system on which the Snap Creator Agent is running, and switch to the etc subdirectory within the installation directory.
    Example
    cd /install_path/scAgent4.3.0/etc
  2. Open the agent.properties file using a text editor.
  3. Change the value of the DEFAULT_PORT parameter to the new port (by default, the port is 9090).
    Example
    For example, to use port 9191, change the DEFAULT_PORT parameter as follows:
    DEFAULT_PORT=9191
  4. Save and close the agent.properties file.
  5. Restart the Snap Creator Agent.
    Example
    /install_path/scAgent4.3.0/bin/scAgent restart
    Note: If the Snap Creator Agent is running when any changes are made to the allowed_commands.config file or the agent.properties file, then the agent must be restarted.