Because of protocol error (code 0x112d) the remote session will be disconnected

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

Because of protocol error (code 0x112d) the remote session will be disconnected

I got the above error while trying to connect to my Azure virtual machine using 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.

Because of protocol error (code 0x112d) the remote session will be disconnected

Why this error?

I am having two Azure virtual machine(VM) under same resource group. Both the VM status is “Running”

  • MyNewAZVM
  • MyNewVM
Because of protocol error (code 0x112d) the remote session will be disconnected

Both the VM are using the same port “3389” so here is the problem. Both are fighting for the same port “3389”.

Because of protocol error (code 0x112d) the remote session will be disconnected how to fix

Second VM also using the same port

how to fix Because of protocol error (code 0x112d) the remote session will be disconnected how to fix

How to fix this?

Now to fix this error what I have done is I stopped one of the Azure virtual machine which i am not using currently.

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

how to fix Because of protocol error (code 0x112d) the remote session will be disconnected how to fix

Now if you will see the status of the VM is stopped(Deallocated).

how to fix Because of protocol error (code 0x112d) the remote session will be disconnected how to fix

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.

Basically don’t assign the same port to both the virtual machine or two different app.

Now when i tried connecting the other Azure virtual machine i can able to connect without any issue.

You may like following Azure tutorials:

In this Azure tutorial, we discussed how to fix error, how to fix Because of error (code 0x112d) the remote session will be disconnected I hope it helped you to fix your issue.

Leave a Comment