unable to connect to my wordpress admin panel on ubuntu 16.04

Hi, I followed the Digital Ocean tutorial on how to install WordPress on Ubuntu:

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?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi All, This has happened to me also almost every time I build a new server. It probably does have something to do with DDoS protection as cafeturka states. For me I can connect again after I start a VPN session. I hope this helps someone else.

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.