0x112d remote desktop error

In this Azure tutorial, we will discuss how to fix the error with the error code 0x112d, which comes while trying to connect the Azure virtual machine using RDP.

I got the above error while connecting to my Azure virtual machine using the RDP option.

The complete error message is

Because of protocol error (code 0x112d) the remote session will be disconnected. Please try connecting to the remote computer again.

0x112d remote desktop error

Why this error?

I have two Azure virtual machines (VMs) under the same resource group. Both the VM status is “Running”

  • MyNewAZVM
  • MyNewVM
0x112d

Both VMs use the same port, “3389,” so here is the problem. Both are fighting for the same port, “3389”.

protocol error 0x112d

The second VM also uses the same port

because of protocol error (code 0x112d)

Solution

To fix this error, I have stopped one of the Azure virtual machines I am not currently using.

To stop the virtual machine, go to the Overview tab, click on the Stop button, and then click Yes to confirm.

because of a protocol error (code 0x112d)

Now, you will see that the VM status is stopped(Deallocated). Check out the screenshot below.

code 0x112d

You can assign a different port to the other VM or delete it if you are not using it.

Don’t assign the same port to the virtual machine and two different apps.

When I tried connecting to the other Azure virtual machine, I could connect without any issues.

You may like the following Azure tutorials:

Wrapping Up

In this Azure tutorial, we discussed how to fix the error 0x112d remote desktop error. I hope it helped you to fix your issue.

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!