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
0x112d

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

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

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
protocol error 0x112d

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
because of a protocol error this session will be disconnected

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
rdp protocol error 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.

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:

Wrapping Up

In this Azure tutorial, we discussed how to fix the error, how to fix Because of error (code 0x112d) the remote session will be disconnected. The same solution will also fix the below errors

  • Protocol error code 0x112d
  • 0x112d remote desktop error
  • Remote desktop protocol error 0x112d
  • Protocol error 0x112d remote desktop
  • Because of protocol error this session will be disconnected
  • rdp 0x112d
  • rdp protocol error
  • 0x112d protocol error
  • Because of protocol error (code 0x112d) the remote session will be disconnected
  • Because of a protocol error (code 0x112d)

 I hope it helped you to fix your issue.