This topic describes how to connect to a Windows instance from a local client.
Prerequisites
- The instance is in the Running state. If not, you must start it. For more information, see Start or stop an instance.
- A logon password is set for the instance. If you have not set a password or if you have forgotten the password, you must reset the password for the instance. For more information, see Reset the logon password of an instance.
- The instance can access the Internet:
- In a VPC, a public IP address is assigned to the instance or an elastic IP address (EIP) is associated with the instance. For more information, see Create an IPv4 VPC network.
- In the classic network, a public IP address is assigned to the instance by using one
of the following methods:
- If you select Assign Public IP Address when you create a subscription or pay-as-you-go instance, a public IP address is assigned to the instance.
- If you do not select Assign Public IP Address when you create a subscription instance, you can upgrade the bandwidth to obtain a public IP address for the instance. For more information, see Overview of instance upgrade and downgrade.
- The following security group rules are added to the security group to which the instance
belongs. For more information, see Add security group rules.
Network type NIC type Rule direction Action Protocol Port range Authorization type Authorization object Priority VPC N/A Inbound Allow RDP(3389) 3389/3389 CIDR block 0.0.0.0/0 1 Classic network Internet
Procedure
Connect from a local client that runs a Windows operating system
If the local client runs a Windows operating system, you can connect to a Windows instance from the local client by using the Microsoft Terminal Services Client (MSTSC), which is a component of Microsoft Windows.
Connect from a local client that runs a Linux operating system
If the local client runs a Linux operating system, you can connect to a Windows instance from the local client by using a remote connection tool. rdesktop is used in this example.
Connect from a local client that runs a Mac operating system
For information about how to connect to a Windows instance from a local client that runs a Mac operating system, visit Get started with the macOS client.
Connect from a local client that runs an Android or iOS operating system
You can use applications to connect to a Windows instance from your mobile device.
For more information, see Connect to a Windows instance from a mobile device.