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 |
A hub's location refers to its network host and port.
The location is established when the hub is started; further interactions with the same hub must specify a compatible network address. For example, if you were on a machine with address 2001:db8::abcd and started a hub at [::1]:7340, you would not be able to access that hub through [2001:db8::abcd]:7340.
Choose a hub location that all hub users can access.
For advice on selecting a hub interface, see Setting Up The Hub: Important Decisions.
Important: do not run a hub at a location that is visible to the whole internet.
If you need to access the hub from offsite locations, use a VPN. For example, you can run a hub at location A and access it through an SSH tunnel from location B as described in ssh Tunnel to a Hub.
CodeSonar SaaS hubs always have a location of the form:
To check whether a hub is running at location host:port, use a web browser to open the URL:
http://host:port
[or]
https://host:port
Depending on whether or not the hub is configured to use HTTPS.
If a hub is running at host:port, the hub Home page will be displayed. If no hub is running, the browser will display an error message (or a completely unrelated page, if some other web server is running at host:port).
Warning: do not omit the protocol (http:// or https://) component of the URL. This can confuse the browser and cause it to display an error message even if a hub is running.
The following codesonar commands have associated hub locations.
CodeSonar determines the hub locations associated with these commands as follows.
For CodeSonar commands that take hub location arguments, you can optionally specify a protocol for the command to use to connect to the hub.
| host:port | If you don't specify a protocol with your hub location, CodeSonar will will try http:// first, then redirect to the equivalent https:// URL if directed to do so by the hub. |
|---|---|
| http://host:port | CodeSonar will try to connect to the hub with HTTP. If the hub is configured to use HTTPS, the connection will fail. |
| https://host:port | CodeSonar will try to connect to the hub with HTTPS. If the hub is not configured to use HTTPS, the connection will fail. Always explicitly specify https:// if you are concerned about security, otherwise you may be sending unencrypted data to an imposter hub. |
See FAQ: I don't remember where I put my hub: how can I find it?
To report problems with this documentation, please visit https://support.codesecure.com/.