Bastionhost uses default RDP port 3389 and SSH port 22 as service ports of hosts. If you configure a custom port on a host, you must change the 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 that you want to use in Bastionhost is the same as the custom port that you configure on the host. Otherwise, you cannot log on to the host in Bastionhost. On the Service Port tab of the host in the Bastionhost console, you can view the protocol and the service port that are configured for the host. Service Port tab

Change the service port of a host

  1. Log on to your bastion host. For more information, see Log on to Bastionhost.
  2. In the left-side navigation pane, choose Assets > Hosts.
  3. On the Hosts page, find the host whose service port you want to change and click the name of the host.
  4. In the panel that appears, click the Service Port tab.
  5. Change the port for RDP or SSH based on your business requirements. Service Port tab
  6. Click Update.

Change the service port of multiple hosts at a time

If the same port is used for the same protocol on multiple hosts, perform the following steps to change the service port for the hosts at a time:

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