Report this

What is the reason for this report?

unable to connect to my wordpress admin panel on ubuntu 16.04

Posted on December 6, 2017

Hi, I followed the Digital Ocean tutorial on how to install WordPress on Ubuntu: https://www.digitalocean.com/community/tutorials/how-to-use-the-wordpress-one-click-install-on-digitalocean

I managed to set up a WordPress successfully, but then I accidentally closed the tab where I was working and from now on I cannot access to the WP admin panel.

I can successfully visualise my new blog by typing my server’s IP, but I cannot actually log in to my WordPress admin panel at http://DROPLETIPADDRESS/wp-admin (DROPLETIPADDRESS = IP address of course), I get an error: "Unable to connect. Firefox can’t establish a connection to the server at xxx.xx.xx.xx.

  • The site could be temporarily unavailable or too busy. Try again in a few moments.
  • If you are unable to load any pages, check your computer’s network connection.
  • If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web."

what can I do now?



This textbox defaults to using Markdown to format your answer.

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Either you are connecting to the wrong address or your webserver is not running. Check whether it does with netstat -ltp|grep apache

I believe this has something to do with DigitalOcean’s own DDOS protection mechanism. I’ve tried it on multiple locations. It’s always the same. After you log in, it automatically blocks the Wordpress admin panel after a few clicks. And as you stated above, it has nothing to do with my firewall settings or the server being down etc. DigitalOcean should clarify this for once and all.

I had this issue I think 1click apps add a protection layer and if you enter the wrong password it blocks the website some how. I have to investigate this further. The website comes back after a fixed amount of time.

I resolved this issue by going into terminal and typing ufw status to make sure the right ports were open and they were.

After confirming that the issue was not todo with the network I restarted the machine and changed the Wordpress system user password.

UPDATE wp_users SET user_pass = MD5(‘password here’) WHERE ID =1;

Website came back and I was able to log in. I’ll update this answer when I find what’s going on with the website going down after entering the wrong password.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.