0x112d

In this Azure tutorial, we will discuss how to fix the error with the code 0x112d, i.e., Because of protocol error (code 0x112d) the remote session will be disconnected, which comes while trying to connect the Azure virtual machine using RDP.

0x112d

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 a protocol error (code 0x112d)

0x112d [Solved]

To fix this protocol error 0x112d, 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 if you are not using the other virtual machine, then you can delete 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 with the code 0x112d i.e., Because of error (code 0x112d) the remote session will be disconnected. I hope it helped you to fix your issue.