Report this

What is the reason for this report?

Help me to fix "ERR_CONNECTION_REFUSED"

Posted on February 11, 2016
Nay

By Nay

Help me to fix “ERR_CONNECTION_REFUSED”

Hello, help me please!

I power off my droplet to do a Snapshot, but after that my site get:

ERR_CONNECTION_REFUSED

I’m using Ubuntu - LEMP - Nginx



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.

This question was answered by @gndo:

@Nayara - Not sure if the lack of the log file is the problem, but you could create an empty file:

## assuming you are logged in as root
touch /var/log/nginx/mysitename/access.log

The intervening directory may not be present if it fails. Create and change ownership and permissions for nginx to use:

mkdir -p /var/log/nginx/mysitename
## chown and then chmod commands here

Edit - forgot to mention about checking your firewall. See if you can access your site while on your server using curl or wget.

View the original comment

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.