Failed to connect to FTP Server ftp.(mywebsite):21 (3 posts)

  1. alienative
    Posted 2 years ago #

    We recently upgraded our hosting account to the latest PHP version and from Windows to Linux so we could install our WordPress website.

    However, when trying to install a plugin or update in our WordPress Dashboard, it gives an error:

    Failed to connect to FTP Server ftp.(mywebsite):21

    We are using the below credentials. It works fine while trying to connect with an FTP client but not in our WordPress.

    Also, We are having problem with other sections, such as uploading files in our gallery.

    Is this a server sided problem or a bad configuration in my WordPress files?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. oneclickz
    Posted 1 year ago #

    i got same problem, then i just add this on wp-config.php, problem solved

    define('FS_METHOD', 'direct');


Topic Closed

This topic has been closed to new replies.

About this Topic