Set up test droplet - now getting "connection refused" error

Posted June 24, 2019 1.6k views
Initial Server SetupUbuntu 18.04

I am new to Digitalocean and just set up my first test droplet to try to get it up and running. I created a simple html page that simply displays the text “TEST”. If I type in the IP address ( the test page is displayed, but if I type in the web address ( or I get a “connection refused” error. I confirmed that my DNS entries have propagated and I have tried connecting from 3 different networks to ensure something isn’t being blocked. I currently don’t have a firewall enabled.

Does anyone have any suggestions of what I can check?


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.

Submit an Answer
1 answer

Hey there @ngiovas,

When making a curl request to to test this, I get back the following which would indicate it is now working correctly:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">

<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />





Heading to the website in a browser renders your test page correctly too.

The issue you were facing earlier with a connection refused may have been caused by a number of things. If you or the server were relying on Cloudflare’s DNS service or if your domain went through them, you may have been affected by their network outage.

Anyway, it looks to be working now, let me know if you have any other issues!
- Matt.

  • Thanks Matt. Yes, it started working after I posted. I did see a note on the home page that they were experiencing some internet issues. That was likely the cause.