JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.

If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.

If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.

CodeSonar® 9.2p0 CONFIDENTIAL CodeSecure Inc

Task: Change A Hub's Port

From time to time you may need to change the port on which the hub listens.

Depending on the hub configuration, you may be prompted to provide hub user account credentials to authenticate and authorize some of the command lines described here. See Hub Authentication: Authenticated codesonar Subcommands for more information.



Changing the Port

  1. Determine the port you wish to move to. We will refer to this as newport.
  2. On the machine running the existing hub, shut down the hub:
    codesonar hub-stop interface:port
    Where interface:port is the hub location.
    You may be prompted for hub user account credentials.
    Note that shutting down the hub while it is in use will interrupt users and analyses.
  3. CodeSonar will print a table of information about the hub that is being shut down. Take note of the value of Directory: you will need it for the next step.
  4. Shut down the hub database process, if it is not already shut down.
  5. Now, run:
    codesonar hub-start DIRECTORY interface:newport
    with DIRECTORY replaced by the Directory value reported by hub-stop.

Links

 

To report problems with this documentation, please visit https://support.codesecure.com/.