Error 502 bad gateway on rdp



I have domian i am using flexible ssl there.Website is working fine on my pc (location india).But in rdp (location france) showing bad gateway error and ask for retry live version.I cleared my chrome cache all.But in chrome as well as in IE it showing same thing.I checked my origin server that is fine.

This problem is occuring only in my rdp which was fine yesterday.Now,whenever i open my website in rdp it showing two days ago data with bad gateway error.


What port is your RDP using? That’s Remote Desktop, correct?


yes its remote desktop connection.The website was working fine there till yesterday but today it started showing error there.

My rdp ip address:

I whitelisted this also in my firewall cloudflare account but error still persist.


Yes, but which Port? By default, it’s 3389, which Cloudflare doesn’t proxy.


Yes its by default 3389

But earlier when site was working it was same.Why now problem coming and what’s the solution?


I’m surprised it worked in the first place. Maybe it really wasn’t going through Cloudflare. The DNS entry could have been set to :grey:, giving users a direct connection to your server.


I don’t think so because dns was active.See image:
And what is the solution which port i use now?


You can try one of the HTTPS ports listed in the Support article I posted above. I’m not sure if it will proxy through since it’s not HTTP(S).

The other option would be to create a subdomain for your RDP connection, and set it to :grey:.


no this is not a problem causing it.Because sites like also using same cloudflare properties and that’s opening fine in my rdp.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.