All Products
Search
Document Center

Bastionhost:Change the service port of a host

Last Updated:Jun 20, 2026

By default, Bastionhost connects to servers using RDP on port 3389 and SSH on port 22. If you use a custom port on a host, you must update its service port in Bastionhost.

Change a single host's service port

Before you proceed, ensure the service port configured in Bastionhost matches the actual port on the host. If the ports do not match, you cannot connect to the host through Bastionhost.

  1. Log on to the Bastionhost console. In the top navigation bar, select the region where your Bastionhost instance is located.

  2. In the list of Bastionhost instances, find the target instance and click Manage.

  3. In the navigation pane on the left, choose Assets > Hosts.

  4. On the Hosts page, find the host and click its name.

  5. In the host details panel, click the Service Port tab.

  6. Enter a custom port number for RDP or SSH, and then click Update.

Change multiple hosts' service ports

If multiple hosts use the same port for the same protocol, you can change their service ports at once:

  1. Log on to the Bastionhost console. In the top navigation bar, select the region where your Bastionhost instance is located.

  2. In the list of Bastionhost instances, find the target instance and click Manage.

  3. In the navigation pane on the left, choose Assets > Hosts.

  4. On the Hosts page, select the hosts, and then at the bottom of the list, click Batch > Modify O&M Port.

  5. In the Modify O&M Port dialog box, set the Protocol and Port, and then click OK.