Accessing Droplet using IP ERR_CONNECTION_REFUSED


I have a Droplet with Ubuntu + Apache + Wordpress, and I need to access it using the public IP. However, when I try to access the browser, I receive an ERR_CONNECTION_REFUSED.

I realized that he tries to go to https. Then in the browser bar it looks like this: https://XX.XXX.XXX.XXX/

Some useful things: I’m not using SSL in the file 000-default.conf I did not notice redirection in the .htaccess file I didn’t notice redirects

What could be happening? Thanks!

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.

Hello, does anyone have any help ideas?

Hi there @Stykler,

It could be that your WordPress Site and Home URL are set to https://your_ip rather than http://your_ip. I would suggest setting them back to http and then giving it a try again.

Another thing that could be causing this is that by default Chrome now redirects http to https. Does it work if you manually put http in your browser?

Regards, Bobby