Remote Desktop error "http Endpoint Exception:4, the non-proxy http connection failed to connect with the message: 501 not implemented"

I am trying to control a Windows 10 PC from a Mac.  I have installed Microsoft Remote Desktop on Mac OSX.  I can successfully connect to the PC and control it from within my home network, but when I try to control it over the internet I receive the above error message (in the subject line).  My network configuration is simple.  I have a wireless router whose address is, and the ip address of the PC I am trying to control is  I have determined my public ip address and entered that in the "PC name" field of  the Remote Desktop dialog.

I have followed directions to port forward port 3389 to ip address in my router.  Is this correct?

Also, I am confused about the need for a "gateway" in the setup of RDP on the mac. In the gateway setup, I specified that the Server name is  Is this correct?  Should I need to have a gateway configured?  If I leave Gateway unconfigured, I receive a different error, namely "Unable to connect to remote PC.  Please verify Remote Desktop is enabled...."

Can anyone help?


Question Info

Last updated February 29, 2020 Views 3,707 Applies to:

Hi Rene,

Thank you for posting your query on Microsoft Community.

The issue that you are facing is best suited in TechNet Forum. They have the latest tools and resources to help you better.

So I would suggest you to post the same the question in the TechNet Forum.

Let us know if you need any further assistance on Windows related issues and we will be glad to help. 

33 people were helped by this reply


Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.