WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. alienative
    Member
    Posted 9 months 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 9 months ago #

  3. oneclickz
    Member
    Posted 2 months ago #

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

    define('FS_METHOD', 'direct');

    http://www.oneclickz.net

Reply

You must log in to post.

About this Topic