Skip to content

Register now for our Web Enablement Ecosystem webinar!

  • Contact us: +34 944 58 06 58
  • Plesk Partner Program
  • Plesk Lifecycle Policy
  • Blog
  • Contact us
  • Plesk 360
  • Contact us: +34 944 58 06 58
  • Plesk Partner Program
  • Plesk Lifecycle Policy
  • Blog
  • Contact us
  • Plesk 360
  • Solutions
    By Role
    • Developers
    • Content Managers
    • Digital Agencies
    • IT Admins
    • Web Hosters
    • Hyperscalers
    • Developers
    • Content Managers
    • Digital Agencies
    • IT Admins
    • Web Hosters
    • Hyperscalers
    By Edition
    • Web Admin Edition
    • Web Pro Edition
    • Web Host Edition
    • Business & Collaboration
    • Plesk WP Edition
    • Web Admin Edition
    • Web Pro Edition
    • Web Host Edition
    • Business & Collaboration
    • Plesk WP Edition
    By Cloud
    • Amazon Web Services
    • Microsoft Azure
    • Alibaba Cloud
    • GCP Marketplace
    • Vultr
    • DigitalOcean
    • Linode
    • UpCloud
    • Amazon Web Services
    • Microsoft Azure
    • Alibaba Cloud
    • GCP Marketplace
    • Vultr
    • DigitalOcean
    • Linode
    • UpCloud
    Partner Program
    Exclusive discounts, benefits and exposure to take your business to the next level
    Become a partner
    • By Role
      • Developers
      • Content Managers
      • Digital Agencies
      • IT Admins
      • Web Hosters
      • Hyperscalers
    • By Edition
      • Web Admin Edition
      • Web Pro Edition
      • Web Host Edition
      • Business & Collaboration
      • WP Edition
    • By Cloud
      • Amazon Web Services
      • Microsoft Azure
      • Alibaba Cloud
      • GCP Marketplace
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
    • Partner Program
      • Partner Program
  • Product
    Explore Features
    • Everyone
    • Admins & Web Hosters
    • Developers
    • Designers & Agencies
    • Plesk Features
    • Everyone
    • Admins & Web Hosters
    • Developers
    • Designers & Agencies
    • Plesk Features
    Key Topics
    • SocialBee
    • WP Toolkit
    • Sitejet Builder
    • SEO Toolkit
    • Joomla! Toolkit
    • Plesk Premium Email
    • Plesk Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder
    • SEO Toolkit
    • Joomla! Toolkit
    • Plesk Premium Email
    • Plesk Email Security
    Feature Packs
    • Business & Collaboration
    • WP Pack
    • Hosting Pack
    • Power Pack
    • Language Pack
    • Business & Collaboration
    • WP Pack
    • Hosting Pack
    • Power Pack
    • Language Pack
    Featured Extension
    SocialBee
    • Explore Features
      • Everyone
      • Admins & Web Hosters
      • Developers
      • Designers & Agencies
      • Plesk Features
    • Key Topics
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Plesk Premium Email
      • Plesk Email Security
    • Feature Packs
      • Business & Collaboration
      • WP Pack
      • Hosting Pack
      • Power Pack
      • Language Pack
    • Featured Extension
      • Extension
  • Pricing
  • Extensions
  • Help Center
  • More
    • Careers
    • Events
    • Plesk University
  • FREE TRIAL
  • Solutions
    • By Role
      • Developers
      • Content Managers
      • Digital Agencies
      • IT Admins
      • Web Hosters
      • Hyperscalers
    • By Edition
      • Web Admin Edition
      • Web Pro Edition
      • Web Host Edition
      • Business & Collaboration
      • WP Edition
    • By Cloud
      • Amazon Web Services
      • Microsoft Azure
      • Alibaba Cloud
      • GCP Marketplace
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
    • Partner Program
      • Partner Program
  • Product
    • Explore Features
      • Everyone
      • Admins & Web Hosters
      • Developers
      • Designers & Agencies
      • Plesk Features
    • Key Topics
      • SocialBee
      • WP Toolkit
      • Sitejet Builder
      • SEO Toolkit
      • Joomla! Toolkit
      • Plesk Premium Email
      • Plesk Email Security
    • Feature Packs
      • Business & Collaboration
      • WP Pack
      • Hosting Pack
      • Power Pack
      • Language Pack
    • Featured Extension
      • SocialBee
  • Pricing
  • Extensions
  • Help center
  • More
    • Careers
    • Events
    • Plesk University
    • Blog
    • Plesk Partner Program
    • Contact Us
  • FREE TRIAL
  • Solutions
    • By Role
      • Developers
      • Content Managers
      • Digital Agencies
      • IT Admins
      • Web Hosters
      • Hyperscalers
    • By Edition
      • Web Admin Edition
      • Web Pro Edition
      • Web Host Edition
      • Business & Collaboration
      • WP Edition
    • By Cloud
      • Amazon Web Services
      • Microsoft Azure
      • Alibaba Cloud
      • GCP Marketplace
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
    • Partner Program
      • Partner Program
  • Product
    • Explore Features
      • Everyone
      • Admins & Web Hosters
      • Developers
      • Designers & Agencies
      • Plesk Features
    • Key Topics
      • SocialBee
      • WP Toolkit
      • Sitejet Builder
      • SEO Toolkit
      • Joomla! Toolkit
      • Plesk Premium Email
      • Plesk Email Security
    • Feature Packs
      • Business & Collaboration
      • WP Pack
      • Hosting Pack
      • Power Pack
      • Language Pack
    • Featured Extension
      • SocialBee
  • Pricing
  • Extensions
  • Help center
  • More
    • Careers
    • Events
    • Plesk University
    • Blog
    • Plesk Partner Program
    • Contact Us
  • FREE TRIAL

Knowledge Base

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

 
2021applications extensionscloudflarecommunitydebug

Symptoms

  • Plesk Obsidian running on a Linux-based operating system
  • An attempt to connect to FTP using website domain fails and the following output is shown:

    connect to 123.456.789.012 port 21 failed: Connection timed out
    Trying 123.456.789.012:21...

  • The website is using Cloudflare nameservers and the primary DNS zone for the domain resides on the end of Cloudflare

  • Migration attempts done via the Site Import extension fail with an error that is similar to the following in the /usr/local/psa/var/modules/site-import/sessions/site-migration-1/debug.log:

    +|2021-06-08_04:05:48,768|D|MT|core.utils.ftp|||Try to establish FTPS connection to host 'example.com'
    +|2021-06-08_04:07:48,901|D|MT|core.utils.ftp|||Connection and login by FTPS to host 'example.com' with username 'username' failed.
    +|2021-06-08_04:07:48,904|D|MT|core.utils.ftp|||Try to establish FTP connection to host 'example.com'
    +|2021-06-08_04:09:49,037|D|MT|core.utils.ftp|||Connection and login by FTP to host 'example.com' with username 'username' failed.
    =|2021-06-08_04:09:49,927|D|MT|core.cli.common_cli|||MigrationError: Failed to connect to source domain
    =|2021-06-08_04:09:49,927|D|MT|core.cli.common_cli|||Cause: timed out
    =|2021-06-08_04:09:49,927|D|MT|core.cli.common_cli|||That is a critical error, migration was stopped.

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

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

What is Cloudflare and How To Set It Up For Your Site?

Read More »

Debugging in WordPress Explained

Read More »

WordPress Firewall – Why Do You Need One?

Read More »
Knowledge Base

Plesk Premium Antivirus cannot update: failed to download files

Read More »

Issuing a Let’s Encrypt SSL certificate failed: the domain’s nameservers may be malfunctioning

Read More »

From time to time the Plesk DNS server doesn’t respond and websites are not available: query cache denied

Read More »

Plesk DNS doesn’t work for some domains: checkhints: b.root-servers.net/A (203.0.113.2) missing from hints

Read More »

Hosting Wiki

  • Server Redundancy
  • Linux Containers
  • Cloudflare
  • AMP
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • HTTP/3
  • HTTP/2
  • Plesk
  • Lighttpd
  • Web Server
  • Static DNS
  • DNS Server
  • DNS Forwarding
  • Reverse DNS
  • Network Bandwidth
  • HTTP

Industry
Partners

industry-partner_ALIBABA
industry-partner_GOOGLEPARTNER
industry-partner_MICROSOFT
industry-partner_REDHAT-r2
industry-partner_ALIBABA
industry-partner_AUTOMATTIC
industry-partner_AWS
industry-partner_DIGITALOCEAN
industry-partner_SCALEWAY
Follow us:
Facebook Twitter Linkedin Youtube Github

COMPANY

About Plesk
Our Brand
Legal
Careers
Impressum

PRODUCT

Pricing 
Extensions
What’s new

KNOWLEDGE BASE

Documentation
Help Center
Migrate to Plesk
Contact Us
Hosting Wiki
Preview releases

PROGRAMS

Contributor Program NEW
Partner Program
Affiliate ProgramNEW

COMMUNITY

Blog
Forums 
Plesk University

First defaul

Company

About Plesk
Our Brand
Legal
Careers
Impressum

PRODUCT

Pricing 
Extensions
What’s new

KNOWLEDGE BASE​

Documentation
Help Center
Migrate to Plesk
Contact Us
Hosting Wiki
Preview releases

PROGRAMS​

Contributor Program NEW
Partner Program
Affiliate ProgramNEW

COMMUNITY​

Blog
Forums
Plesk University

Follow us:
Facebook Twitter Linkedin Youtube Github

© 2025 WebPros International GmbH. All rights reserved. Plesk and the Plesk logo are trademarks of WebPros International GmbH.

Managed with love with Plesk WP Toolkit