ERROR: There was an error connecting to the server, Please verify the settings are correct.

May 24, 2017 7.1k views
Ubuntu WordPress

Associated Droplet: negociofechado

Dear we are facing this page on our site, the same is without access, please kindly contact us regarding this message, because all the time is asking to verify the settings, follow the message below ....

We wait and count with your support, we have the system without access …


ERROR: There was an error connecting to the server, Please verify the settings are correct.

Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

FTP Username
FTP Password
Connection Type

2 Answers

Use SSH to fix your permissions using chmod and chown.


Unless you’ve installed and configured FTP software on your Droplet, you won’t be able to use FTP and would need to use SFTP.

That said, generally this isn’t required if proper permissions are setup to allow WordPress to read + write. How you’d go about this depends on whether you’re using Apache or NGINX.

On Apache, www-data is the default user that needs to own your files and directories, so if you are running Apache, you’d need to set ownership on the files.

For example, if you’re home directory (where index.php is) is:


You may need to run:

chown -R www-data:www-data /var/www/html

NGINX works slightly different in that permissions need to be set for the user that is running the PHP process(es). By default, that’s www-data as well, so the same command could be used.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!