Currently have a droplet set up as a Rserver with R and Rshiny installed to run a small shiny app. This works perfectly with the IPv4 address and I am currently using nginx as the http web server.
I have a custom domain and have configured the name servers within my domain purchaser to use the digitalocean ones. The name servers were completely propogated with the dnschecker, but im still experiencing ERR_CONNECTION_REFUSED during domain connection and not sure why.
I have checked countless answers to this question, theres no firewall so dont think its a port problem?
Any advice would be very helpful.
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.
Hey there 👋
If the IP works but the domain shows
ERR_CONNECTION_REFUSED
, it’s likely an Nginx config issue, not DNS.Make sure you’ve added a proper server block for your domain in Nginx, something like:
Also, make sure Nginx has been reloaded after changes:
You can double-check if Nginx is listening with:
If you’d like, feel free to share your Nginx config here, happy to take a quick look.
- Bobby
Heya,
You can confirm your domain resolves to your Droplet’s IP:
It should return the correct IPv4 address. If not, the issue is DNS-related (even if propagation “seems” done).
Regard