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

June 24, 2019 208 views
Initial Server Setup Ubuntu 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 (165.227.186.30) the test page is displayed, but if I type in the web address (www.giovas-is-a-geek.com or http://giovas-is-a-geek.com) 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?

thanks,
Nick

1 Answer

Hey there @ngiovas,

When making a curl request to www.giovas-is-a-geek.com 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

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

<body>

<h1>TEST</h1>

</body>

</html>

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.

Have another answer? Share your knowledge.