Skip to main content
Previous sectionNext section

Connecting to Remote Hosts

To connect the current Terminal session to a database on a remote host, use the Connect menu.

  • To connect to a remote host, select Connect > Host or press Alt+O. This brings up a dialog box where you can enter the address of the desired host.

    Or select the name of the host from the Connect menu.

  • To send a break over the communications channel, select Connect > Send Break or press Alt+B.

  • To disconnect or to cancel a connection attempt, Connect > Disconnect.

Note:

If you start the Terminal with either the /console or the /server control argument, the Connect menu item is not shown.

Example

This example starts an instance of the Terminal and then manually connects it to the TELNET port on the local host to enable a console session. The example assumes that the default user ID and password are available.

  1. Select Connect > Host.

  2. In the dialog box that appears, enter 127.0.0.1 for the Remote System address and 23 for the Port Number. Select OK.

    The Terminal application then attempts to connect to your local host via the TELNET port.

  3. At the Username: prompt, enter SYS and press Enter.

  4. Then, at the Password: prompt, enter a password and press Enter.

    You then see a prompt (%SYS>) that indicates that you are connected and have been placed in the %SYS namespace.

  5. Enter Caché commands as needed.

  6. To terminate the session, select Connect >Disconnect. Or, to terminate this Terminal, select the Close box in the upper right of the window.