WordPress.org

Ready to get started?Download WordPress

Forums

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

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

  3. oneclickz
    Member
    Posted 10 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

Topic Closed

This topic has been closed to new replies.

About this Topic