• Resolved tomritchmen

    (@tomritchmen)


    Ha everyone!XD

    OK so I installed wordpress on my Ubuntu 12.04.5 Server that I run from my house, but when I try and add a Theme/Plugin it prompts me with a window telling me I need to enter my
    Hostname:
    FTP Username:
    FTP Password:
    so I added
    Hostname:localhost
    FTP Username:Bill
    FTP password:bill7

    but when I try to proceed I get “Failed to connect to FTP Server localhost:21”
    I tried the site URL as the hostname but still the same Error.

    here is some info of what I did to install the wordpress.

    Youtube video on how I installed WordPress

    I installed the wordpress while logged in to MY ubuntu acc not root.

    I used the same username and password for everything.

    I can’t login to the the server in FileZilla with FTP protocol only
    SFTP-SSH.

    and in SFTP-SSH WordPress and its sub folders folders are owned by nobody/nogroup.

    And the folders permissions range from:drwxr-xr-x:to:-rw-r–r–:

    Could somebody please help me with this error I would be most grateful.

    Tomritchmen XD

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anonymous User 9055193

    (@anonymized-9055193)

    Check the permissions of your WordPress installation. Also, if you have a firewall, you may wish to check if your FTP port is allowing traffic.

    https://codex.www.ads-software.com/Changing_File_Permissions

    Thread Starter tomritchmen

    (@tomritchmen)

    Fixed it! all I needed to do was sudo chown -R www-data:www-data var/www
    Thanks for the help.

    Felix

    (@chisoni)

    As for me I have just installed wordpress via Ubuntu 14.04 terminal. Therefore, I have Apache MyPhpAdmin and Mysql. However, I cant install plugins or update my theme as it is requesting for the same FTP credentials. What is this FTP? I never set it up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help! Failed to connect to FTP Server localhost:21’ is closed to new replies.