Bastionhost uses default ports for the RDP and SSH protocols (port 3389 for RDP and port 22 for SSH) as service ports of hosts. If you have customized a protocol port on a host, you must also change the matching service port in Bastionhost. This topic describes how to change the service port of a host in Bastionhost.

Prerequisites

Before you change the service port, make sure that the service port you want to use is the same as the protocol port on the host. Otherwise, you cannot log on to the host in Bastionhost.

Change the service port of a single host

  1. Log on to the Bastionhost system. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, click Assets > Hosts.
  3. On the Hosts page, find the target host and click the hostname.
  4. In the pane that appears, click the Service Port tab.
  5. Change the port for RDP or SSH as required.Service port
  6. Click Update.

Change the service port of multiple hosts

If the same port is used for the same protocol of multiple hosts, follow these steps to change the port for the matching hosts at a time:

  1. Log on to the Bastionhost system. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, click Assets > Hosts.
  3. On the Hosts page, select the hosts whose service port you want to change and select Modify O&M Port from the Batch drop-down list in the lower-left corner.
    Change the service port of multiple hosts (1)
  4. In the Modify O&M Port dialog box, specify Protocol and Port.
    Change the service port of multiple hosts (2)
  5. Click OK.