Why Can't I Log In to My Windows HECS?
Description
An HECS cannot be logged in for some reason, for example, the network is malfunctioning, the local port for accessing the remote desktop is denied on the firewall, or the CPU is overloaded on the HECS.
If this issue occurs, follow the instructions provided in Attempting Login Using VNC on the Management Console. Then, locate the login fault based on Fault Locating.
Attempting Login Using VNC on the Management Console
If the remote login fails, check whether you can log in to the HECS using VNC on the management console.
Click What Should Be Prepared for Logging In to an HECS? to learn the preparations for logging in to an HECS.
- Log in to the management console.
- Under Computing, click Hyper ECS.
- In the Operation column of the target HECS, click Remote Login. Figure 1 Remote Login
If the login using VNC fails after the preceding operations are performed, record your resources and the time when the fault occurred. Then, click Service Tickets in the upper right corner of the management console, choose Create Service Ticket, and submit a ticket for technical support.
Fault Locating
If you can log in to the HECS using VNC but cannot log in to it using a remote desktop connection, locate the fault by following the following procedure.
Possible causes are listed here in order of their probability.
If the fault persists after you have ruled out one cause, move on to the next one.
| Possible Cause | Handling Measure |
|---|---|
| The HECS is frozen or stopped. | Ensure that the HECS is in the Running state. For details, see Checking the HECS Status. |
| Incorrect username or password. | The default username for Windows HECSs is Administrator. If the password is incorrect, reset the password using the password reset function on the management console. For details, see Checking the Login Password. |
| The HECS is overloaded. | Check the bandwidth or vCPU usage of the HECS. If the bandwidth or vCPU usage is excessively high, login failures may occur. For details, see Checking the HECS Load. |
| No EIP is bound to the HECS. | Bind an EIP to the HECS if you want to log in to the HECS using an RDP file or remote desktop connection (MSTSC). For details, see Checking the HECS EIP. |
| The access is blocked by the Internet service provider (ISP). | Access the HECS using another hotspot or network. For details, see Checking the Network. |
| The access is blocked by the firewall. | Disable the firewall and try again. For details, see Checking the Firewall. |
| The remote login port has been disabled in the security group or on the HECS. | Check whether the remote login port is enabled in the security group and on the HECS. For details, see Checking the Port. |
| An IP address whitelist for SSH logins has been configured. | Check whether an SSH login IP address whitelist is configured in HSS. For details, see Checking the IP Address Whitelist for SSH Logins (with HSS Enabled). |
| The remote desktop protocol has been disabled on the HECS. | Make sure that the remote desktop protocol has been enabled on the HECS (only required for RDP and MSTSC logins). For details, see Checking the Remote Desktop Protocol. |
| The access is blocked by third-party antivirus software. | Disable or uninstall the third-party antivirus software and try again. For details, see Checking the Antivirus Software. |
| The cause is displayed in the error message. | If an error message is displayed during a remote login, check the operation guide based on the error information. For details, see Checking Whether an Error Occurred During the Remote Login. |
Checking the HECS Status
Check whether the HECS is in the Running status on the management console. If the HECS is stopped, start it and try again.
Checking the Login Password
Check the login password you set when or after you create the HECS.
- Set the password during HECS creation: Check whether the password is correct. If your password is forgotten, reset the password, restart the HECS, and log in to it using the new password.
- Set the password after HECS creation: If you choose not to set a password when you create the HECS, you can use the password reset function (available in the Operation column of the HECS) to obtain the login password after the HECS is created. Then, restart and log in to it using the new password.
Checking the HECS Load
If the bandwidth or vCPU usage is excessively high, you may fail to log in to the HECS.
If you have created an alarm rule using Cloud Eye, the system automatically generates an alarm when the bandwidth or CPU usage reaches the threshold specified in the rule.
To handle this issue, perform the operations described in Why Is My Windows HECS Running Slowly?.
- If the login failure is caused by high vCPU usage, perform the following operations to reduce the vCPU usage:
- Stop the processes that are not being used and try again.
- Verify that the Windows Update process is not running on the backend.
- Restart the HECS.
- Reinstall the HECS OS. Back up important data before the reinstallation.
- If the OS cannot be reinstalled due to important data, replace the disk attached to the HECS. To do so, back up the data on the original disk, detach the disk from the HECS, attach the new disk to the HECS, and copy the data to the new disk.
You can also upgrade the vCPUs and memory by modifying the HECS specifications.
- If the login fails because the bandwidth exceeds the limit, perform the following operations:
Check whether the bandwidth exceeds the configured bandwidth size. For details, see How Do I Check Whether the Bandwidth Exceeds the Limit?
After you perform the preceding operations, try to remotely log in to the HECS again.
Checking the HECS EIP
An HECS can access the Internet after it is bound with an EIP.
Before logging in to an HECS using RDP or MSTSC, make sure that an EIP has been bound to the HECS. For details, see Assigning an EIP and Binding It to an ECS.
When logging in to an HECS through an intranet, for example, through VPN or Direct Connect, you do not need to bind an EIP to the HECS.
Checking the Network
Use a local PC in another network or use another hotspot to access the HECS. Check whether the fault occurs on the local network. If so, contact the carrier to resolve this issue.
After you perform the preceding operations, try to remotely log in to the HECS again.
Checking the Firewall
Check whether the firewall is enabled.
- Log in to the Windows HECS.
- Click the Windows icon in the lower left corner of the desktop and choose Control Panel > System and Security > Windows Firewall. Figure 5 Windows firewall
- Choose Check firewall status > Turn Windows Firewall on or off.
View and set the firewall status.
Figure 6 Turning off a firewall
Ensure that the remote access port on the local end is allowed on the firewall. The default port is TCP 3389.
If the port configured in the inbound rule of the firewall is different from that configured on the remote server, the remote login fails. In such a case, add the port configured on the remote server to the inbound rule of the firewall.
For details, see Disabling a Windows ECS Firewall and Adding a Port Exception on a Windows ECS Firewall.
The default port is 3389. If you use another port, add that port in the inbound rule of the firewall.
After performing the preceding operations, try to remotely log in to the HECS again.
Checking the Port
- Check whether port 3389 (used by default) on the HECS is accessible.
Ensure that port 3389 has been allowed in the inbound rule.
On the page providing details about the HECS, click the Security Groups tab and view port 3389 in the inbound rule of the security group.
Figure 7 Checking security group rules
- Check whether the remote access port on the HECS has been changed.
- Choose Start > Run, enter cmd, and press Enter. In the CLI, enter regedit to open Registry Editor.
- In HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP Tcp\PortNumber, check whether the port is the default port 3389. If not, change the port to the one configured for remote logins.

- Check whether the number of connections to the HECS is limited.
Check the internal remote desktop configuration of the HECS.
- Choose Start > Run, enter cmd, and press Enter. In the CLI, enter gpedit.msc to open Local Group Policy Editor.
- Choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections. Then, in the Limit number of connections dialog box, check whether the number is limited.

If Limit number of connections is set to Enabled, a remote connection to the Windows HECS may fail when the number of connections exceeds the limit. In such an event, disable Limit number of connections or set a larger limit for connections.
After performing the preceding operations, try to remotely log in to the HECS again.
Checking the IP Address Whitelist for SSH Logins (with HSS Enabled)
After HSS is enabled, you can configure an IP address whitelist for SSH logins as required. The IP address whitelist controls SSH access to HECSs, effectively preventing account cracking.
After you configure the whitelist, SSH logins will be allowed only from IP addresses in the whitelist.
- On the Events page, check whether a local host IP address is intercepted due to brute force cracking.
- Check whether the IP address whitelist for SSH logins has been enabled. If so, ensure that the IP address of the local host has been added to the IP address whitelist.
- Before enabling this function, ensure that all IP addresses that need to initiate SSH logins are added to the whitelist. Otherwise, you cannot remotely log in to your HECS through SSH.
- Exercise caution when adding a local IP address to the whitelist. This will make HSS no longer restrict access from this IP address to your HECSs.
For more details, see Security Configuration.
Checking the Remote Desktop Protocol
Make sure that the remote desktop protocol has been enabled on the HECS (only required for RDP and MSTSC logins).
Log in to the HECS using VNC and enable the remote desktop protocol.
For details, see Login Using MSTSC.
Checking the Antivirus Software
Third-party antivirus software may lead to an access failure to the HECS.
If third-party antivirus software is running, check whether the remote connection is blocked by the software. If so, add the EIP of the HECS to the whitelist and try to access the HECS again.
Checking Whether an Error Occurred During the Remote Login
If an error message is displayed during a remote login, find the error information in the operation guide. The methods for resolving a remote login error for an HECS are the same as those for handling a remote login error for an ECS. For details, see Remote Login Errors on Windows.
If the error cannot be resolved, record the message and the time when the error occurred. Then, click Service Tickets in the upper right corner of the management console, choose Create Service Ticket, and submit a ticket for technical support.
After performing the preceding operations, try to remotely log in to the HECS again.
If the fault persists after you have performed the preceding operations, record the resource information and the time when the fault occurred. Then, click Service Tickets in the upper right corner of the management console, choose Create Service Ticket, and submit a ticket for technical support.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.