Plesk

Unable to connect to FTP server when using Cloudflare DNS records that are proxied for a domain

Symptoms

Cause

The Cloudflare DNS service currently does not proxy FTP traffic, which is mentioned on the following page of their documentation:

Proxy status · Cloudflare DNS docs

Due to this, the FTP traffic cannot reach your Plesk server in order to establish a connection.

Only certain HTTP and HTTPS ports are compatible with Cloudflare's proxy.

The full list of allowed HTTP/HTTPS ports can be checked on the following page of the Cloudflare documentation:

Network ports · Cloudflare Fundamentals docs

Resolution

To access an FTP server for a domain that uses the Cloudflare DNS service, it is needed to create a new and separate DNS record for the domain (ftp.example.com is a good option) within the Cloudflare DNS zone and set it with the DNS only Proxy status, so that the FTP traffic is not proxied through Cloudflare and will therefore be able to reach your Plesk server.

The steps to manage DNS records within Cloudflare are available on the following page of the Cloudflare documentation:

Manage DNS records · Cloudflare DNS docs

Once the FTP traffic goes through a DNS record that is not proxied via Cloudflare, the FTP connection will become possible.

Additional information

Connecting with FTP - DNS & Network - Cloudflare Community
What is the difference between "Proxied" and "DNS Only"? - Website, Application, Performance / DNS & Network - Cloudflare Community

Exit mobile version