When the default RDP port, port number 3389 is assigned to some other application on the Remote Server, the client fails to establish a remote connection. Instead, it results in a remote desktop disconnected error due to the conflict in the port assignment.
Steps to resolve "Remote desktop disconnected error" due to port assignment conflict
Verify listener on RDS is working using any of the following methods :
The Listener component is responsible for establishing and accepting new RDP client connections. It is important to ensure that it's working properly and is available.
Verify the listener on RDS is working using any of the following methods :
- Establish a remote connection from an RDP client to the Remote Desktop server
- qwinsta tool to view the listener status on the RDS
- Type qwinsta in command prompt
- Check if the state of RDP-TCP is "Listen".
- Netstat tool to view the listener status on the RDS using the command
netstat -a
- Telnet tool to connect to the RDP port on the RDS
- Type telnet rdpservername 3389. Use the server name and port number as configured in your environment.
- The listener is working if telnet screen opens.
Meta-D: When port number 3389 is assigned to some other application on the Remote Server, the client fails to establish a remote connection. Resolve it by reassigning the port.