Question

how do we fix "refused to connect" on a wordpress droplet

We have a site set up on a WordPress droplet that we imported from another server along with importing the database. when we go to the site we get refused to connect. How can we fix this? it works fine when we put in a static index.html page but the actual WordPress site throws the above error… this is our first WP marketplace droplet …any help appreciated


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 @adrianabellanosa,

Refused to connect, hmm, It’s possible once you put your WordPress website that it redirects to https/port 443 and if you haven’t installed an SSL using Certbot, maybe Apache doesn’t have a config for that port.

Try installing an SSL certificate to see what happens. Here is a tutorial which I think should help you with that:

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04

You should already have the certbot service installed on your Droplet so, I think you’ll just need to check STEP 3 and 4 on the tutorial.