Report this

What is the reason for this report?

Custom domain resolves to ERR_CONNECTION_REFUSED

Posted on January 19, 2022

Hello,

So I have a droplet set up with MERN application. It resolves fine at the ip address.

Nameservers on gandi are set to… ns1.digitalocean.com ns2.digitalocean.com ns3.digitalocean.com

On DO networking tab

A turnup.dev directs to 159.223.164.198 CNAME www.turnup.dev is an alias of turnup.dev. following 3 NS

when these 2 address are pinged in console they both resolve…

Pinging turnup.dev [159.223.164.198] with 32 bytes of data: Reply from 159.223.164.198: bytes=32 time=41ms TTL=47

Its been about almost week, more then enough time for the DNS to prop, and I have cleared my browser cache multiple times

Still when the address is entered in the brows I receive. ERR_CONNECTION_REFUSED

I’ve done very little with the NGINX webserver as this is my first application to be hosted on a VPS, I’m a new developer and have used Heroku up until now. Something to do with the port? Regardless not sure how to proceed, any suggestions would be greatly appreciated.

baberMatt



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!

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.
0

Accepted Answer

Hi @mbaber1142,

In the DNS department, all looks okay.

Let’s turn our attention to Nginx. Have you actually configured your Nginx and is your Domain configured and enabled there? I think the issue might just be there as the Droplet can’t server the Domain to it just not being enabled.

Check this tutorial on STEP 5 and see if you’ve done this:

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.